Bugzilla – Attachment 85910 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.42 KB, created by
Owen Leonard
on 2019-03-01 16:27:47 UTC
(
hide
)
Description:
Bug 8775: Add collection code to lost report
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-03-01 16:27:47 UTC
Size:
2.42 KB
patch
obsolete
>From 2fd81c5ceeb365343008f6dd1777df006da26914 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. >--- > 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 6bc5c55..c580df2 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 d30dae8..640783a 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.1.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 8775
:
85526
|
85910
|
85912
|
86190
|
86200
|
86201
|
86202