From dc8fb79cf4438f31cf72942caccf4a7d6c9bd665 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 13 May 2024 22:15:02 +0000 Subject: [PATCH] Bug 35961: (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 Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer (cherry picked from commit e412a4387c888816cf478d811a559c5f57f7e9e2) Signed-off-by: Fridolin Somers --- 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.5