Bugzilla – Attachment 188642 Details for
Bug 41126
Move shelving location into a separate column in inventory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41126: Move shelving location into a separate column in inventory
Bug-41126-Move-shelving-location-into-a-separate-c.patch (text/plain), 3.44 KB, created by
Laura Escamilla
on 2025-10-30 12:53:29 UTC
(
hide
)
Description:
Bug 41126: Move shelving location into a separate column in inventory
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-10-30 12:53:29 UTC
Size:
3.44 KB
patch
obsolete
>From 9526d1718173bd61c664bffaa0a8375ce74c734d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 28 Oct 2025 17:30:10 +0000 >Subject: [PATCH] Bug 41126: Move shelving location into a separate column in > inventory > >This patch updates the inventory template so that items' shelving >location is showin in its own column in the table of results. This makes >it consisten with other displays like the bibliographic detail holdings >table and the holds queue report. > >To test, apply the patch and restart services. > >- If necessary, modify a few items to add a shelving location. >- Go to Cataloging -> Inventory >- To narrow down the results, I used the item call number fields under > "Item location filters." >- Submit the form. >- In the list of results, confirm that there is a separate column for > shelving location and that the correct information is displayed. >- Confirm that the column visibility menu works to show and hide the > column. >- Go to Administration -> Table settings -> Tools (sic) -> Inventory >- Confirm that there is a checkbox for the shelving location column and > that your changes to the column's configuration are reflected in the > inventory results. > - Because of DataTables state saving feature you might have to clear > your browser's local storage in order to see the new column > configuration. > >Sponsored-by: Athens County Public Libraries >Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 4 +++- > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 6c5624bee9..d7ed696779 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -2701,6 +2701,8 @@ modules: > cannot_be_modified: 1 > - > columnname: library >+ - >+ columnname: location > - > columnname: collection > - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >index ba68b0eb97..8114b594c9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >@@ -312,6 +312,7 @@ > <th id="barcode" data-colname="barcode">Barcode</th> > <th id="call_number" data-colname="call_number">Call number</th> > <th id="library" data-colname="library">Library</th> >+ <th id="location" data-colname="location">Location</th> > <th id="collection" data-colname="collection">Collection</th> > <th id="title" data-colname="title" class="anti-the">Title</th> > <th id="notforloan" data-colname="notforloan">Not for loan</th> >@@ -335,8 +336,9 @@ > > <td data-order="[% result.cn_sort | html %]"> [% result.itemcallnumber | html %] </td> > >+ <td> [% Branches.GetName( result.homebranch ) | html %] </td> >+ > <td> >- [% Branches.GetName( result.homebranch ) | html %] > <span class="shelvingloc">[% result.location | html %]</span> > </td> > >-- >2.39.5
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 41126
:
188562
| 188642