Search/sort problem in Flex-object Directory

Hello everybody,

I copied the contacts example into testone following the documentation in order to add a new field called ‘journal’ and everything works perfectly well.
However, when I display my testone collection of objects in the directory I cannot search or sort using the new field journal. Both search and sort work only for name and email like in the original contact example.

Here is what I wrote in user/blueprint/flex-object/testone.yaml

  # Search options
    contains: 1
  # Fields to be searched
    - last_name
    - first_name
    - email
    - journal

and in user/themes/deliver/templates/flex/testone/collection/default.html.twig

Did I forget anything?
Thank you very very much in advance for your help!

Solved! It was only a cache problem.