Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I had a strange error today that my sorting wasn't working for one specific record. I was sorting staff profiles by firstname.
All was working ok except for one staff name.
Staff Name: Will
If I added any letter I figure out the sorting works again. I made a stab in the dark and wondered if 'will' was a lucene keyword. I am guessing it is since I tried changing the staff name to 'Or' or 'And' and this has the same effect. The sorting did nothing on this record and simply added it to the top of the results.
I was wondering if anyone else has experienced this issue and have a work around.
I think I am going to try.
Adding a new sortable field in IndexProviderTransformingIndexValues
I am going to make this field up of the firstname + "x"
Then use this to do the sorting on.
I guess this will work because there will no longer we and names for exactly match a possible keyword.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted