Bug 38653

Summary: Obsolete call on system preference 'OPACLocalCoverImagesPriority'
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: Architecture, internals, and plumbingAssignee: Fridolin Somers <fridolin.somers>
Status: Pushed to main --- QA Contact: Marcel de Rooy <m.de.rooy>
Severity: minor    
Priority: P5 - low CC: david, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This fixes the OPAC search results page by removing a call to system preference OPACLocalCoverImagesPriority - this system preference no longer exists. (There is no visible difference to the OPAC search results page.)
Version(s) released in:
25.05.00
Circulation function:
Attachments: Bug 38653: Remove call on system preference 'OPACLocalCoverImagesPriority'
Bug 38653: Remove call on system preference 'OPACLocalCoverImagesPriority'
Bug 38653: Remove call on system preference 'OPACLocalCoverImagesPriority'

Description Fridolin Somers 2024-12-09 11:46:17 UTC
This is in opac/opac-search.pl a call on system preference OPACLocalCoverImagesPriority.
This preference does not exists elsewhere and dates back to Koha 3.8 from Bug 1633

I propose to remove ;)
Comment 1 Fridolin Somers 2024-12-09 11:50:11 UTC
Created attachment 175298 [details] [review]
Bug 38653: Remove call on system preference 'OPACLocalCoverImagesPriority'

This is in opac/opac-search.pl a call on system preference OPACLocalCoverImagesPriority.
This preference does not exists elsewhere and dates back to Koha 3.8 from Bug 1633

This patch removes the call and fixes folding of if.

Check this returns empty : git grep OPACLocalCoverImagesPriority
Comment 2 Owen Leonard 2024-12-09 12:04:30 UTC
Created attachment 175299 [details] [review]
Bug 38653: Remove call on system preference 'OPACLocalCoverImagesPriority'

This is in opac/opac-search.pl a call on system preference
OPACLocalCoverImagesPriority. This preference does not exists elsewhere
and dates back to Koha 3.8 from Bug 1633

This patch removes the call and fixes folding of if.

Check this returns empty : git grep OPACLocalCoverImagesPriority

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Marcel de Rooy 2024-12-13 10:51:50 UTC
Created attachment 175446 [details] [review]
Bug 38653: Remove call on system preference 'OPACLocalCoverImagesPriority'

This is in opac/opac-search.pl a call on system preference
OPACLocalCoverImagesPriority. This preference does not exists elsewhere
and dates back to Koha 3.8 from Bug 1633

This patch removes the call and fixes folding of if.

Check this returns empty : git grep OPACLocalCoverImagesPriority

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Katrin Fischer 2024-12-23 09:37:57 UTC
Pushed for 25.05!

Well done everyone, thank you!