https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23089

Ere Maijala <ere.maij...@helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #93983|0                           |1
        is obsolete|                            |

--- Comment #6 from Ere Maijala <ere.maij...@helsinki.fi> ---
Created attachment 94618
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94618&action=edit
Bug 23089: Fix sorting on sum and regular fields

As of bug 20589 we no longer analyze sort fields and so we no longer need to
append ".phrase"
to our sort in searches.

Additionally, sort fields based on 'sum' should also use sum in building the
value to sort on

To test:
0 - Be using ES
1 - Find the most circulated item in your collection
2 - Search for '*'
3 - Sort by popularity DESC
4 - Note that item is not first
5 - Try to sort by anything but relevancy, it fails
6 - Apply patch
7 - Redo searches and sorts
8 - Things should now work as expected

Signed-off-by: Ere Maijala <ere.maij...@helsinki.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to