Bugzilla – Attachment 85912 Details for
Bug 8775
Add collection column to built in 'Items lost' report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8775: Add collection code to lost report
Bug-8775-Add-collection-code-to-lost-report.patch (text/plain), 2.47 KB, created by
Bin Wen
on 2019-03-01 19:57:40 UTC
(
hide
)
Description:
Bug 8775: Add collection code to lost report
Filename:
MIME Type:
Creator:
Bin Wen
Created:
2019-03-01 19:57:40 UTC
Size:
2.47 KB
patch
obsolete
>From 15f048ff54299a6a765679335a4adbd27c09e3b9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 22 Feb 2019 14:00:37 +0000 >Subject: [PATCH] Bug 8775: Add collection code to lost report > >This patch adds a column for collection code to the lost items report. > >To test, apply the patch and run the lost items report. You should see a >collection code column. > >Test column configuration for this table: Go to Administration -> >Configure columns. Confirm that the "collection_code" column can be >configured and that configuration choices are applied correctly. > >Signed-off-by: Bin Wen <bin.wen@inlibro.com> >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt | 2 ++ > 2 files changed, 4 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 6bc5c5502c..c580df22b4 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -533,6 +533,8 @@ modules: > columnname: library > - > columnname: itemtype >+ - >+ columnname: collection_code > - > columnname: current_location > - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >index d30dae83ca..640783a096 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >@@ -83,6 +83,7 @@ > <th>Rep.price</th> > <th>Library</th> > <th>Item type</th> >+ <th>Collection code</th> > <th>Current location</th> > <th>Location</th> > <th>Not for loan status</th> >@@ -112,6 +113,7 @@ > <td>[% item.replacementprice | $Price %]</td> > <td>[% Branches.GetName(item.homebranch) | html %]</td> > <td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td> >+ <td>[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]</td> > <td>[% Branches.GetName(item.holdingbranch) | html %]</td> > <td>[% AuthorisedValues.GetByCode( 'LOC', item.location ) | html %]</td> > <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %] >-- >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 8775
:
85526
|
85910
|
85912
|
86190
|
86200
|
86201
|
86202