Bugzilla – Attachment 158827 Details for
Bug 31391
Staff-side recalls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31391: Implement RecallsInterface on OPAC
Bug-31391-Implement-RecallsInterface-on-OPAC.patch (text/plain), 2.65 KB, created by
David Nind
on 2023-11-11 01:48:56 UTC
(
hide
)
Description:
Bug 31391: Implement RecallsInterface on OPAC
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-11-11 01:48:56 UTC
Size:
2.65 KB
patch
obsolete
>From 6fca4e20662f7979020d2a9fb9569eeafa84812b Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Mon, 4 Oct 2021 17:23:06 +1300 >Subject: [PATCH] Bug 31391: Implement RecallsInterface on OPAC > >Signed-off-by: David <david@davidnind.com> >Signed-off-by: David Nind <david@davidnind.com> >--- > .../opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc | 2 +- > .../opac-tmpl/bootstrap/en/includes/title-actions-menu.inc | 2 +- > opac/opac-recall.pl | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >index f1d4e60bdd..1622a5f75c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >@@ -11,7 +11,7 @@ > [% END %] > [% END %] > >- [% IF Koha.Preference('UseRecalls') %] >+ [% IF Koha.Preference('UseRecalls') AND Koha.Preference('RecallsInterface') != 'staff' %] > <li><a class="recall btn btn-link btn-lg" href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% biblio.biblionumber | html %]"><i class="fa-solid fa-fw fa-book-bookmark" aria-hidden="true"></i> > Place recall</a></li> > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc >index d2b050cd4f..bd54d236d4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc >@@ -17,7 +17,7 @@ > [% END # / UNLESS items.norequests %] > [% END # / OPACHoldRequests %] > >- [% IF Koha.Preference('UseRecalls') %] >+ [% IF Koha.Preference('UseRecalls') AND Koha.Preference('RecallsInterface') != 'staff' %] > <span class="actions"><a class="btn btn-link btn-sm recall" href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% items.biblionumber | html %]"><i class="fa-solid fa-book-bookmark" aria-hidden="true"></i> Place recall</a></span> > [% END %] > >diff --git a/opac/opac-recall.pl b/opac/opac-recall.pl >index 2a8b2497c0..6a859e7249 100755 >--- a/opac/opac-recall.pl >+++ b/opac/opac-recall.pl >@@ -36,7 +36,7 @@ my $op = $query->param('op') || ''; > my $biblionumber = $query->param('biblionumber'); > my $biblio = Koha::Biblios->find( $biblionumber ); > >-if ( C4::Context->preference('UseRecalls') ) { >+if ( C4::Context->preference('UseRecalls') and C4::Context->preference('RecallsInterface') ne 'staff' ) { > > my $patron = Koha::Patrons->find( $borrowernumber ); > my $error; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31391
:
139442
|
139443
|
139444
|
139446
|
139642
|
139643
|
139644
|
139645
|
141474
|
142594
|
143155
|
144104
|
144105
|
144131
|
144132
|
144133
|
144134
|
144135
|
144136
|
147581
|
147582
|
150485
|
150486
|
150487
|
150488
|
150489
|
150490
|
150491
|
156995
|
156996
|
156997
|
156998
|
156999
|
157000
|
157001
|
158691
|
158692
|
158693
|
158694
|
158695
|
158825
|
158826
|
158827
|
158828
|
158829
|
158830
|
158831
|
158832
|
172166
|
172167
|
172168
|
172169
|
172170
|
172171
|
172172
|
172173
|
172174
|
172175
|
173839
|
173840
|
173841
|
173842
|
173843
|
173844
|
173845
|
173846
|
173847
|
174396
|
174822
|
174823
|
174824
|
174825
|
174826
|
174827
|
174828
|
174829
|
174830
|
174831