Bugzilla – Attachment 176593 Details for
Bug 38732
Add copy number column to the bundles table on the staff detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38732: Add copy number column to manage bundles table
Bug-38732-Add-copy-number-column-to-manage-bundles.patch (text/plain), 2.09 KB, created by
Jonathan Druart
on 2025-01-16 09:12:51 UTC
(
hide
)
Description:
Bug 38732: Add copy number column to manage bundles table
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-16 09:12:51 UTC
Size:
2.09 KB
patch
obsolete
>From 86d88b6990af47cb45a65d7c7aed2a86b99b999a Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 17 Dec 2024 16:59:44 +0000 >Subject: [PATCH] Bug 38732: Add copy number column to manage bundles table > >To test: >1. APPLY PATCH and restart_all >2. Go to an item record and click 'Manage bundle' >3. Make sure the item you are adding has a copy number. >4. Look at the bundle_table and notice the copy number displaying. >5. Make sure you can hide the column ( Gear icon: Columns ) and via Table settings. > >Signed-off-by: hebah <hebah@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 6 ++++++ > 2 files changed, 8 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 962c25c2f46..edf37d81289 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -635,6 +635,8 @@ modules: > cannot_be_toggled: 1 > - > columnname: author >+ - >+ columnname: copynumber > - > columnname: callnumber > - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 50a9b66160a..d85b1bc5c79 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -1729,6 +1729,12 @@ > "searchable": true, > "orderable": true, > }, >+ { >+ "data": "copy_number", >+ "title": _("Copy number"), >+ "searchable": true, >+ "orderable": true, >+ }, > { > "data": "callnumber", > "title": _("Callnumber"), >-- >2.34.1
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 38732
:
175632
|
175684
| 176593