Bugzilla – Attachment 159815 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.44 KB, created by
Lucas Gass (lukeg)
on 2023-12-13 21:00:30 UTC
(
hide
)
Description:
Bug 35564: Add homebranch to the holds queue report
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-12-13 21:00:30 UTC
Size:
3.44 KB
patch
obsolete
>From ec894bd4b8cfd4948bc927c6d1134637d3ab349a 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 >--- > 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 dd6396671fe..3a90860050d 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 d94d4c347d0..86855ee1b7b 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