Bug 35323

Summary: Terminology: Add additional elements to the "More Searches" bar...
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: fridolin.somers, lucas, victor
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.05.00,23.11.03
Circulation function:
Attachments: "More searches" menu item on the OPAC detail page
Bug 35323: Fix hint for OpacMoreSearches HTML customization
Bug 35323: Fix hint for OpacMoreSearches HTML customization
Bug 35323: Fix hint for OpacMoreSearches HTML customization

Description Katrin Fischer 2023-11-13 16:17:26 UTC
Found in translation:
Add additional elements to the "More Searches" bar on the OPAC, with this content (leave blank to disable). 

I don't think the element is labelled "More searches" anywhere in Koha - maybe we should call it "Navigation links below the simple search" or similar? 

Also: capitalization.
Comment 1 Owen Leonard 2023-11-13 18:13:28 UTC
Created attachment 158896 [details]
"More searches" menu item on the OPAC detail page
Comment 2 Katrin Fischer 2023-11-13 20:13:17 UTC
Yes, you would think that, but it's actually not the spot.

OpacMoreSearches appears in the OPAC navigation - I just tested.

You mean  OPACSearchForTitleIn, this has not been migrated to HTML customizations yet.
Comment 3 Katrin Fischer 2024-01-06 19:52:33 UTC
Created attachment 160602 [details] [review]
Bug 35323: Fix hint for OpacMoreSearches HTML customization

There was some confusion on where this content appears.
This patch fixes the description shown as hint in the HTML
customizations tool when when the OpacMoreSearches entry is
selected.

To test:
* Before appyling the patch
* Add a new HTML customization for OpacMoreSearches
* Verif hint showing below the pull down
* Set a title and a publication date in the past
* Enter a short text, like "Koha" as content
* Save
* Go to the OPAC, verify text shows in the navigation
* Apply patch
* Verify hint is now correct
Comment 4 David Nind 2024-01-07 14:51:45 UTC
Created attachment 160610 [details] [review]
Bug 35323: Fix hint for OpacMoreSearches HTML customization

There was some confusion on where this content appears.
This patch fixes the description shown as hint in the HTML
customizations tool when when the OpacMoreSearches entry is
selected.

To test:
* Before appyling the patch
* Add a new HTML customization for OpacMoreSearches
* Verif hint showing below the pull down
* Set a title and a publication date in the past
* Enter a short text, like "Koha" as content
* Save
* Go to the OPAC, verify text shows in the navigation
* Apply patch
* Verify hint is now correct

Signed-off-by: David Nind <david@davidnind.com>
Comment 5 Victor Grousset/tuxayo 2024-01-17 19:38:57 UTC
Created attachment 161118 [details] [review]
Bug 35323: Fix hint for OpacMoreSearches HTML customization

There was some confusion on where this content appears.
This patch fixes the description shown as hint in the HTML
customizations tool when when the OpacMoreSearches entry is
selected.

To test:
* Before appyling the patch
* Add a new HTML customization for OpacMoreSearches
* Verif hint showing below the pull down
* Set a title and a publication date in the past
* Enter a short text, like "Koha" as content
* Save
* Go to the OPAC, verify text shows in the navigation
* Apply patch
* Verify hint is now correct

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Comment 6 Victor Grousset/tuxayo 2024-01-17 19:39:18 UTC
Works, makes sense, QA script happy, code looks good, passing QA :)
Comment 7 Katrin Fischer 2024-01-26 14:17:37 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 8 Fridolin Somers 2024-01-31 13:56:46 UTC
Pushed to 23.11.x for 23.11.03
Comment 9 Lucas Gass (lukeg) 2024-02-09 20:33:36 UTC
No html-customization-help.inc in 23.05.x, no backport.