Bugzilla – Attachment 96724 Details for
Bug 24279
Claims Returned does not work when set from moredetail.pl or additem.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24279 - Claims Returned does not work when set from moredetail.pl
Bug-24279---Claims-Returned-does-not-work-when-set.patch (text/plain), 2.83 KB, created by
Katrin Fischer
on 2020-01-02 06:48:14 UTC
(
hide
)
Description:
Bug 24279 - Claims Returned does not work when set from moredetail.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-01-02 06:48:14 UTC
Size:
2.83 KB
patch
obsolete
>From e9cb1e05c755622b8fd4f399e01e1959dcad5058 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 30 Dec 2019 07:51:23 -0500 >Subject: [PATCH] Bug 24279 - Claims Returned does not work when set from > moredetail.pl > >Test Plan: >1) Configure Claimes Returned >2) Apply this patch >3) Go to moredetail.pl for that item >4) Note the claims returned lost status does not show in the lost status pulldown > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/catalogue/moredetail.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >index 6f3ba54ad0..fed46b34b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >@@ -99,6 +99,7 @@ > [% IF itemlostloop %] > <li><span class="label">Lost status:</span> > [% IF ( CAN_user_circulate ) %] >+ [% SET ClaimReturnedLostValue = Koha.Preference('ClaimReturnedLostValue') %] > <form action="updateitem.pl" method="post"> > <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> > <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /> >@@ -106,6 +107,7 @@ > <select name="itemlost" > > <option value="">Choose</option> > [% FOREACH itemlostloo IN itemlostloop %] >+ [% NEXT IF ClaimReturnedLostValue && !ITEM_DAT.itemlost && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %] > [% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %] > <option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option> > [% ELSE %] >@@ -116,7 +118,6 @@ > <input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" /> > <input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" /> > >- [% SET ClaimReturnedLostValue = Koha.Preference('ClaimReturnedLostValue') %] > [% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %] > <input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/> > <p class="help-block">Item has been claimed as returned.</p> >-- >2.17.1
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 24279
:
96683
|
96684
|
96724
|
96725
|
103597
|
103598
|
104487
|
105355
|
107286
|
107287
|
107288
|
107289
|
107290
|
107311
|
107376
|
107377
|
107378
|
107379
|
107380
|
107381