https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29756

--- Comment #3 from Christopher Brannon <[email protected]> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to