Bugzilla – Attachment 174013 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
Lucas Gass (lukeg)
on 2024-11-05 17:07:41 UTC
(
hide
)
Description:
Bug 15461: (follow-up) Make filtering work right when using seperate column
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-11-05 17:07:41 UTC
Size:
1.97 KB
patch
obsolete
>From cedd4371003be737546cebb850b73b68893f7415 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 b680124f0dd..c337525e849 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 >@@ -381,7 +381,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. %] >@@ -425,7 +425,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