Hello,
I have a sorting issue, that I still didn’t resolve even by reading the numerous discussions that were written about it. I tried asking directly in these discussions but I had no answers… So maybe creating a new topic is the way to have more visibility !
Basically, I have an RG that contains items, and each item has a field “itemGender” which is a Type “Gender” that I created. The type “Gender” contains the fields :
- “genderTitle” : “Men”, “Women” and “Both”
- “genderRank” : 1 (for Men), 2 (for Women) and 3 (for Both).
What I wanna do is to sort my items by gender rank, not descending : so first the items with the gender “Men”, then the items with the gender “Women”, then the items with the gender “Both”.
I tried to sort the items with a dynamic field (now I think it’s called “Change which field…”) :
So I’m sorting with : Search for items > itemGender > genderRank (because the dynamic field name must be printable and it can’t be the type Gender), and then I do : “Descending : no”
But when I test it, no items are displayed on my page, and the debugger shows this error message :
(popular item week is the name of my RG)
I also tried with setting the dynamic sort field at “search for Gender : genderRank” but it shows the same kind of error message :
Do you know what’s wrong with what I did ?
Thanks a lot for your answer