Bugzilla – Attachment 137696 Details for
Bug 31071
Regression: date due removed from staff search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31071: Regression: date due removed from staff search results
Bug-31071-Regression-date-due-removed-from-staff-s.patch (text/plain), 3.01 KB, created by
Martin Renvoize (ashimema)
on 2022-07-14 09:19:02 UTC
(
hide
)
Description:
Bug 31071: Regression: date due removed from staff search results
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-07-14 09:19:02 UTC
Size:
3.01 KB
patch
obsolete
>From 155acd154745f43ea23af469aa94e516dad96455 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 12 Jul 2022 14:45:13 +0000 >Subject: [PATCH] Bug 31071: Regression: date due removed from staff search > results >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch corrects a regression caused by Bug 28321, which >inadvertently removed the date due from output of item information in >each search result. > >To test, apply the patch and perform a catalog search which will return >some results which are checked out and some which aren't. Confirm that >the checked out items show the date due correctly. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Emmanuel Bétemps <e.betemps@gmail.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 4 ++++ > .../intranet-tmpl/prog/en/modules/catalogue/results.tt | 7 +++++++ > 2 files changed, 11 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index cb6d2c52a6..6ffbad8dd7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -4660,6 +4660,10 @@ div .suggestion_note { > display:inline-block; > white-space:nowrap > } >+ >+ .item-date-due { >+ display: block; >+ } > } > > #camera, #output { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index f9b80cffe6..8d952c869a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -628,6 +628,13 @@ > [% END %] > <span class="item_count">[% items_loo.count | html %]</span> > </div> <!-- /.result_item_details --> >+ >+ [% IF status_count == "onloancount" %] >+ <span class="item-date-due"> >+ Due: [% items_loo.due_date | $KohaDates %] >+ </span> >+ [% END %] >+ > [% IF item_level_itypes && items_loo.description %] > <span class="item-itype-desc">[% items_loo.description | html %]</span> > [% END %] >-- >2.20.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 31071
:
137645
|
137657
|
137660
|
137661
|
137686
| 137696