Bug 24714 - Include ISBN tag in search result items even if no in-built Enhanced Content service for cover images is used
Summary: Include ISBN tag in search result items even if no in-built Enhanced Content...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (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-02-23 01:38 UTC by tomlin_VGD
Modified: 2024-01-06 13:23 UTC (History)
0 users

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 tomlin_VGD 2020-02-23 01:38:17 UTC
3rd-party services commonly use ISBN for image links. This makes it easy to use UserJS to produce them from simple ISBN tags in the HTML.

Currently though, one has to check e.g. Google Jackets, only to get them. This works, but also adds completely redundant loading.

One solution: a simple unconditional (or conditioned by no Enhanced Content used - after the [% IF ( GoogleJackets ) %] etc. sections ) addition of SEARCH_RESULT.normalized_isbn in opac-results.tt; and corresponding .tt:s, for Intra etc.
Comment 1 Katrin Fischer 2024-01-06 13:23:29 UTC
You can add some code to OpacSearchForTitleIn to add an invisible HTML element to the page containing the {ISBN} placeholder.