Koha/koha-tmpl/intranet-tmpl/prog/en/xslt
Nick Clemens 4b71a85e13
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 <andrewfh@dubcolib.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-08 17:52:40 -03:00
..
compact.xsl
Del9LinksExcept952.xsl
Del9LinksExcept995.xsl
Del952.xsl
Del995.xsl
identity.xsl
MARC21Languages.xsl
MARC21slim2ATOM.xsl
MARC21slim2DC.xsl
MARC21slim2intranetDetail.xsl Bug 33217: Allow specifiying sort field and order for authro links 2023-11-08 17:52:40 -03:00
MARC21slim2intranetResults.xsl Bug 33217: Allow specifiying sort field and order for authro links 2023-11-08 17:52:40 -03:00
MARC21slim2MADS.xsl
MARC21slim2MODS.xsl Bug 29556: MARC21slim2MODS.xsl broken by duplicate template name "part" 2021-12-02 21:01:10 -10:00
MARC21slim2MODS3-1.xsl
MARC21slim2OAIDC.xsl
MARC21slim2RDFDC.xsl
MARC21slim2RDFDC.xsl.1
MARC21slim2RSS2.xsl
MARC21slim2SRWDC.xsl
MARC21slim9522852.xsl
MARC21slimUtils-MODS31.xsl
MARC21slimUtils.xsl Bug 34020: (QA follow-up) Indentation fix 2023-10-25 10:35:34 -03:00
MARC21slimUtils2.xsl
oilsMARC21slim2HTML.xsl
plainMARC.xsl Bug 33281: Improve detail auth links and add to marc preview 2023-04-12 09:26:55 -03:00
UNIMARC_compact.xsl
UNIMARCauthResults.xsl Bug 11083: Add sample XSLT for UNIMARC authorities 2022-04-08 15:49:15 +02:00
UNIMARCslim2intranetDetail.xsl Bug 30430: (QA follow-up) fix display of 210 only if no 214 + added 214r/s 2022-07-01 16:51:32 -03:00
UNIMARCslim2intranetResults.xsl Bug 30430: (QA follow-up) fix display of 210 only if no 214 + added 214r/s 2022-07-01 16:51:32 -03:00
UNIMARCslim2OAIDC.xsl
UNIMARCslim2RDFDC.xsl
UNIMARCslim2SRWDC.xsl
UNIMARCslimUtils.xsl Bug 30430: (QA follow-up) Several fixes 2022-07-01 16:51:43 -03:00