From e98483948759a1cf317a56732c6b94ed7ebe6153 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 13 May 2024 22:15:02 +0000 Subject: [PATCH] Bug 35961:i (follow-up) Pass along the borrowernumber To test: 1. APPLY PATCH 2. Turn on OpacCatalogConcerns 3. Find a record and go to the OPAC detail page. 4. Click "Report a concern" in the right navigation menu 5. Make sure it works 6. Repeat the proces from MARC view and ISBD view pages --- opac/opac-ISBDdetail.pl | 1 + opac/opac-MARCdetail.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index b0dd51de30..a70d2ccf76 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -191,6 +191,7 @@ $template->param( ReservableItems => $can_holds_be_placed, ISBD => $res, biblio => $biblio, + borrowernumber => $loggedinuser, ); #Search for title in links diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl index bac3cc2efb..406d2d4ceb 100755 --- a/opac/opac-MARCdetail.pl +++ b/opac/opac-MARCdetail.pl @@ -382,6 +382,7 @@ $template->param( item_subfield_codes => \@item_subfield_codes, biblio => $biblio, norequests => $norequests, + borrowernumber => $loggedinuser, ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.39.2