Bugzilla – Attachment 67637 Details for
Bug 4319
waiting and in transit items cannot be reserved
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 4319 - [OPAC] allow to holds items in transit
Bug-4319---OPAC-allow-to-holds-items-in-transit.patch (text/plain), 1.93 KB, created by
Alex Arnaud
on 2017-10-05 14:06:19 UTC
(
hide
)
Description:
Bug 4319 - [OPAC] allow to holds items in transit
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2017-10-05 14:06:19 UTC
Size:
1.93 KB
patch
obsolete
>From 2ab99f40334692536cf1f5613c252526cce1f884 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Thu, 5 Oct 2017 14:04:18 +0000 >Subject: [PATCH] Bug 4319 - [OPAC] allow to holds items in transit > >Test plan is the same that for waiting items but with items in transit >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc | 2 +- > opac/opac-detail.pl | 2 +- > 2 files changed, 2 insertions(+), 2 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 9069ee4..a94180c 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 >@@ -3,7 +3,7 @@ > [% UNLESS ( norequests ) %] > [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] > [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %] >- [% IF ( AllowOnShelfHolds OR ItemsIssued OR ItemsWaiting ) %] >+ [% IF ( AllowOnShelfHolds OR ItemsIssued OR ItemsWaitingOrInTransit ) %] > <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblionumber | html %]">Place hold</a></li> > [% END %] > [% END %] >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 858e952..7ae25ff 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -460,7 +460,7 @@ if ($session->param('busc')) { > > $template->param( > ItemsIssued => CountItemsIssued( $biblionumber ), >- ItemsWaiting => Koha::Holds->search({biblionumber => $biblionumber, found => 'W'})->count(), >+ ItemsWaitingOrInTransit => Koha::Holds->search({biblionumber => $biblionumber, found => ['W', 'T']})->count(), > OPACShowCheckoutName => C4::Context->preference("OPACShowCheckoutName"), > OPACShowBarcode => C4::Context->preference("OPACShowBarcode") > ); >-- >2.7.4
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 4319
:
3740
|
4099
|
4110
|
4327
|
4329
|
16965
|
67558
|
67584
|
67637
|
67704
|
67970
|
68194
|
68197
|
68198
|
68199
|
68531
|
68782
|
68786
|
69724
|
69725
|
69728
|
69815
|
69816
|
69817
|
70457