Bugzilla – Attachment 159845 Details for
Bug 35564
Add home library (homebranch) column to holds queue report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35564: Add homebranch to the holds queue report
Bug-35564-Add-homebranch-to-the-holds-queue-report.patch (text/plain), 3.49 KB, created by
Brendan Lawlor
on 2023-12-14 14:38:33 UTC
(
hide
)
Description:
Bug 35564: Add homebranch to the holds queue report
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2023-12-14 14:38:33 UTC
Size:
3.49 KB
patch
obsolete
>From 11f0cc3b28c9762f6542e91d0f407c6a6685f6c3 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 13 Dec 2023 20:58:01 +0000 >Subject: [PATCH] Bug 35564: Add homebranch to the holds queue report > >To test: >1 - Place some holds in your system >2 - perl misc/cronjobs/holds/build_holdsqueue.pl >3 - View the holds queue >4 - Note there is no holding branch column >5 - APPLY PATCH >6 - Reload and try again >7 - Note the column is not there >8 - Click column setting gear to expose the column >9 - Go to Admin -> Table settings and make sure you can expose the column via Table settings > >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> >--- > admin/columns_settings.yml | 3 +++ > .../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 7 +++++++ > 2 files changed, 10 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index dd6396671f..3a90860050 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1612,6 +1612,9 @@ modules: > - > columnname: holdingbranch > is_hidden: 1 >+ - >+ columnname: homebranch >+ is_hidden: 1 > - > columnname: collection > - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >index d94d4c347d..86855ee1b7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >@@ -77,6 +77,7 @@ > <tr> > <th class="hq-title anti-the">Title</th> > <th class="hq-holdingbranch">Current library</th> >+ <th class="hq-homebranch">Home library</th> > <th class="hq-collection">Collection</th> > <th class="hq-itemtype">Item type</th> > <th class="hq-callnumber">Call number</th> >@@ -100,6 +101,11 @@ > <input class="text_filter" type="text" placeholder="Current library"> > </span> > </td> >+ <td class="hq-homebranch"> >+ <span class="filter_column filter_text"> >+ <input class="text_filter" type="text" placeholder="Home library"> >+ </span> >+ </td> > <td class="hq-collection"> > <span class="filter_column filter_text"> > <input type="text" placeholder="Collection"> >@@ -185,6 +191,7 @@ > </p> > </td> > <td class="hq-holdingbranch">[% Branches.GetName( itemsloo.holdingbranch ) | html %]</td> >+ <td class="hq-homebranch">[% Branches.GetName( itemsloo.item.homebranch ) | html %]</td> > <td class="hq-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.item.ccode ) | html %]</td> > <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.item.effective_itemtype ) | html %]</td> > <td class="hq-callnumber">[% IF ( itemsloo.item.location ) %]<em>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.location ) | html %]</em> [% END %][% itemsloo.item.itemcallnumber | html %]</td> >-- >2.30.2
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 35564
:
159815
|
159816
|
159845
|
161457