Bugzilla – Attachment 86200 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.54 KB, created by
Jonathan Druart
on 2019-03-06 18:23:05 UTC
(
hide
)
Description:
Bug 8775: Add collection code to lost report
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-03-06 18:23:05 UTC
Size:
2.54 KB
patch
obsolete
>From e1e19ae89f7338a1d5948a5a5be46411b2e4ce36 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 >@@ -534,6 +534,8 @@ modules: > - > columnname: itemtype > - >+ columnname: collection_code >+ - > columnname: current_location > - > columnname: 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.11.0
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