Bug 24188

Summary: Sorting AZ does not work
Product: Koha Reporter: KohaGeekWien <team>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, katrin.fischer
Version: 19.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Search Part 1
Search Part 2

Description KohaGeekWien 2019-12-08 15:29:15 UTC
Our client has  the latest 19.11 Koha Installed. After search is done, and you change sorting to the Title A-Z or Z-A , it does not work. It's just random. 
The same applies to the Sorting by Author.
Comment 1 Katrin Fischer 2019-12-11 07:05:10 UTC
Autor sorts by 100, but as Koha displays more the results may seem strange sometimes.

How many results do you have in your result list? There is a high limit on where Zebra stops sorting in the configuration. Can you maybe post a screenshot of a sorted unsorted result list?
Comment 2 KohaGeekWien 2019-12-11 09:18:09 UTC
Hi Katrin, 
The same thing is also in regard to sorting by Title. 


http://bp.reserveabooklibrary.com/cgi-bin/koha/catalogue/search.pl?idx=kw&q=ar&offset=100&sort_by=title_az

Here you can see After B comes T  Then C ...


Can we increase that number of sorting for zebra?
Comment 3 Katrin Fischer 2019-12-11 09:36:09 UTC
Your link requires a login.
Comment 4 KohaGeekWien 2019-12-11 09:42:19 UTC
Created attachment 96182 [details]
Search Part 1

Search part1
Comment 5 KohaGeekWien 2019-12-11 09:42:41 UTC
Created attachment 96183 [details]
Search Part 2
Comment 6 KohaGeekWien 2019-12-11 09:43:33 UTC
Katrin, as you see the result is 1433
Comment 7 Jonathan Druart 2019-12-17 09:38:16 UTC
All looks correct to me, as Katrin said previously, "the" is a stopword and is ignored on sorting.
"Business" is followed by "The call", which is start with 'c', not 't'.
Comment 8 Katrin Fischer 2019-12-17 09:40:47 UTC
I didn't but Jonathan is correct. Check the indicators of 245 - this is an intended behaviour.