| Summary: | Author field searches do not include enough fields | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
| Component: | Staff interface | Assignee: | Nick Clemens (kidclamp) <nick> |
| Status: | Failed QA --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | flyingendpaper, gmcharlt, katrin.fischer, phil |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Bug 41210: Add additional fields to author search links in staff interface
Bug 41210: (follow-up) Urlencode author names |
||
|
Description
Nick Clemens (kidclamp)
2025-11-06 20:03:49 UTC
Created attachment 189226 [details] [review] Bug 41210: Add additional fields to author search links in staff interface This patch adds fields to the search for author fields To test: 1 - Edit a record, add additional author fields 100 _ _ ‡aaSeuss,‡cDr. 700 1 _ ‡aH. D.‡q(Hilda Doolittle),‡d1886-1961. 700 _ _ ‡aBeethoven, Ludwig van,‡d1770-1827‡c(Spirit) 110 1 _ ‡aFreemasons.‡bConcordia Lodge, No. 13 (Baltimore, Md.) 111 _ _ ‡aStour Music Festival.‡eOrchestra. 711 _ _ ‡aParis‡qSalon (Société des artistes français) 2 - View the record in staff interface 3 - Note all the author searches are subfield 'a' only 4 - Apply patch, now we have x00 = abcq x10 = ab x11 = aeq 5 - Confirm this is better Pretty sure you need a "<xsl:with-param name="urlencode">1</xsl:with-param>" in your call-template to not have your link break on funky names. Created attachment 189624 [details] [review] Bug 41210: (follow-up) Urlencode author names With ES, the searches fail, since the mappings we ship don't index anything but subfield a in the au index. With Zebra, au:"Beethoven, Ludwig van, (Spirit)" fails because subfield d is indexed, so while au:"Beethoven, Ludwig van, 1770-1827 (Spirit)" would work, without the date it doesn't match. |