Summary: | No Place hold button on OPAC details page if number of items exceeds OpacMaxItemsToDisplay | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | cbrannon, george |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Lucas Gass (lukeg)
2021-12-22 17:33:24 UTC
+1 This seems highly problematic. Temporary workaround until this is fixed: //Add missing hold link to opac-detail when holdings are hidden (v21.05) if ($('#opac-detail').length) { if($('#holdings:contains("This record has many physical items")').length){ var detailBib = $('#catalogue_detail_biblio').attr('data-biblionumber'); $('#action').prepend('<li><a class="reserve btn btn-link btn-lg" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=' + detailBib + '"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a></li>'); } } //END Add missing hold link to opac-detail when holdings are hidden |