Bug 27187 - Cannot delete/update local cover image with LocalCoverImages off
Summary: Cannot delete/update local cover image with LocalCoverImages off
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-09 21:12 UTC by Andrew Fuerste-Henry
Modified: 2023-10-06 17:31 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2020-12-09 21:12:22 UTC
When the LocalCoverImages syspref is set to "Don't display," Koha hides the image itself as well as the Images tab on the bib details page. However, if a library has OPACLocalCoverImages on, they'll likely want to access that Images tab to delete or change the images they're displaying on the OPAC.

Could we hide the tab only if *both* sysprefs are off?
Comment 1 Ed Veal 2020-12-09 21:16:26 UTC
If you use different sources for OPAC and staff side and there are cover images that appear on the staff side but there is not one available for the OPAC you have to turn both system preference on.
Comment 2 Noémie Labine 2023-10-06 17:31:58 UTC
This also doesn't make sense if a library uses Local Cover Images as a CoceProviders option. If Coce is enabled and the provider Local Cover Images is used, LocalCoverImages still have to be set to Display if they want to add or edit an image in a record...

I have a hard time understanding the benefit to hide the options related to the images...

I believe the simplest way to correct that would be to just have the images options always visible in a bib details... Otherwise, we would need to change the behavior to hide the options only if LocalCoverImages, OPACLocalCoverImages AND Local Cover Images in CoceProviders (if Coce is used for OPAC or staff interface) are all disabled.