https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33217
Katrin Fischer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157818|0 |1 is obsolete| | --- Comment #10 from Katrin Fischer <[email protected]> --- Created attachment 158434 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158434&action=edit Bug 33217: Allow specifiying sort field and order for authro links When using the facets for author, i.e. limiting a search, it makes sense to preserve the default sort order for the results (relevance, etc) When clicking on an author to search the catalog for all works by an author, it would be nice to be able to optionally specify sorting for the listing - i.e. publication date, or title This patch adds two new system preferences: AuthorLinkSortBy AuthorLinkSortOrder To test: 1 - Do a search in intranet and staff for 'austen' or an author you have multiple titles from 2 - Click the linked name 3 - Note a new search is performed, sorted by field from defaultSortField preference 4 - Apply patch, updatedatabase, restart_all 5 - Ensure nothing has changed by searching again 6 - Set AuthorLinkSortBy to 'date of publication' and AuthorLinkSortORder to asc 7 - Search again, comfirm links obey sorting specific above 8 - Test other values - confirm links are updated in both staff/opac and results/details Signed-off-by: Andrew Fuerste-Henry <[email protected]> Signed-off-by: Katrin Fischer <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
