Bugzilla – Attachment 62417 Details for
Bug 18433
Allow to select results to export in item search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18433: Use the TT plugin for itemsearch_item.json.inc
Bug-18433-Use-the-TT-plugin-for-itemsearchitemjson.patch (text/plain), 2.28 KB, created by
Jonathan Druart
on 2017-04-19 19:17:48 UTC
(
hide
)
Description:
Bug 18433: Use the TT plugin for itemsearch_item.json.inc
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-04-19 19:17:48 UTC
Size:
2.28 KB
patch
obsolete
>From 7b2c90687d8d471ebeddb60cc3f069c8b2ad44d8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 19 Apr 2017 16:16:21 -0300 >Subject: [PATCH] Bug 18433: Use the TT plugin for itemsearch_item.json.inc > >TODO: >includes/catalogue/itemsearch_item.csv.inc >modules/catalogue/itemsearch.tt >--- > .../prog/en/includes/catalogue/itemsearch_item.json.inc | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc >index 20f6d42..5571e14 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc >@@ -3,8 +3,6 @@ > [%- USE AuthorisedValues -%] > [%- biblio = item.biblio -%] > [%- biblioitem = item.biblioitem -%] >-[%- notforloan_avcategory = AuthorisedValues.GetCategoryByKohaField('items.notforloan') -%] >-[%- location_avcategory = AuthorisedValues.GetCategoryByKohaField('items.location') -%] > [ > "[% FILTER escape_quotes = replace('"', '\"') ~%] > <input type="checkbox" name="itemnumber" value="[% item.itemnumber %]"/> >@@ -21,9 +19,9 @@ > "[% item.itemcallnumber |html %]", > "[% Branches.GetName(item.homebranch) |html %]", > "[% Branches.GetName(item.holdingbranch) |html %]", >- "[% IF location_avcategory %][% AuthorisedValues.GetByCode(location_avcategory, item.location) | html %][% ELSE %][% item.location |html %][% END %]", >+ "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]", > "[% item.stocknumber |html %]", >- "[% IF notforloan_avcategory %][% AuthorisedValues.GetByCode(notforloan_avcategory, item.notforloan) | html %][% ELSE %][% item.notforloan |html %][% END %]", >+ "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]", > "[% (item.issues || 0) |html %]", > "[% FILTER escape_quotes ~%] > <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit</a> >-- >2.9.3
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 18433
:
62170
|
62181
|
62358
|
62388
|
62389
|
62390
|
62415
|
62416
|
62417
|
62449
|
62472
|
95380
|
97479
|
99123
|
99124
|
99159
|
99160
|
99161
|
99162