Bugzilla – Attachment 170270 Details for
Bug 15461
Add staff equivalent for OpacLocationOnDetail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15461: (follow-up) Make filtering work right when using seperate column
Bug-15461-follow-up-Make-filtering-work-right-when.patch (text/plain), 1.97 KB, created by
ByWater Sandboxes
on 2024-08-13 16:12:36 UTC
(
hide
)
Description:
Bug 15461: (follow-up) Make filtering work right when using seperate column
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2024-08-13 16:12:36 UTC
Size:
1.97 KB
patch
obsolete
>From ddd1b839be87049c6350e86ee666d9c0e02cb09d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 12 Aug 2024 19:47:33 +0000 >Subject: [PATCH] Bug 15461: (follow-up) Make filtering work right when using > seperate column > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >--- > .../includes/html_helpers/tables/items/catalogue_detail.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >index c234cfd5e4..5091c86ca8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >@@ -367,7 +367,7 @@ > orderable: true, > render: function (data, type, row, meta) { > let nodes = '<span class="holdingbranchdesc">%s</span>'.format(escape_str(row._strings.holding_library_id.str)); >- [% IF ( Koha.Preference('StaffLocationOnDetail') == 'home' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] >+ [% IF ( Koha.Preference('StaffLocationOnDetail') == 'holding' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] > nodes += '<span class="shelvingloc">' > [%# If permanent location is defined, show description or code and %] > [%# display current location in parentheses. If not, display current location. %] >@@ -411,7 +411,7 @@ > searchable: true, > orderable: true, > render: function (data, type, row, meta) { >- return escape_str(row._strings.collection_code.str); >+ return escape_str(row._strings.location.str); > } > }, > [% END %] >-- >2.39.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 15461
:
162980
|
162981
|
162982
|
162987
|
162990
|
162991
|
162992
|
162993
|
165804
|
165805
|
165806
|
170238
|
170268
|
170269
|
170270
|
174011
|
174012
|
174013