[Koha-bugs] [Bug 27073] New: refactor cover image to get image(s) (url) from api call/template include
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 20 21:48:00 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27073
Bug ID: 27073
Summary: refactor cover image to get image(s) (url) from api
call/template include
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: koha at trust-box.at
QA Contact: testopia at bugs.koha-community.org
it seems for me that there is (template) code duplication to show cover images.
see
grep -rl OPACAmazonCoverImages
includes/shelfbrowser.inc
includes/opac-bottom.inc
modules/opac-user.tt
modules/opac-opensearch.tt
modules/opac-results-grouped.tt
modules/opac-readingrecord.tt
modules/opac-detail.tt
modules/opac-shelves.tt
modules/opac-showreviews-rss.tt
modules/opac-showreviews.tt
modules/opac-results.tt
I'm not sure if this is autogenerated?
maybe this duplicate code should be wrapped in an api call, with more logic
implemented than in the rather crude template if-statments
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list