Bugzilla – Attachment 78497 Details for
Bug 16355
Searching for items added before or after a specific date [add item for label only]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16355: Fix Searching for items added before or after a specific data
Bug-16355-Fix-Searching-for-items-added-before-or-.patch (text/plain), 1.43 KB, created by
Mark Tompsett
on 2018-09-07 02:44:25 UTC
(
hide
)
Description:
Bug 16355: Fix Searching for items added before or after a specific data
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-09-07 02:44:25 UTC
Size:
1.43 KB
patch
obsolete
>From 5e22fe815e6ad35145fe98c9e9725162f0b1e976 Mon Sep 17 00:00:00 2001 >From: BestBookBuddies <info@bestbookbuddies.com> >Date: Fri, 7 Sep 2018 02:42:18 +0000 >Subject: [PATCH] Bug 16355: Fix Searching for items added before or after a > specific data > >As specified searching for items added before or after a specific data >is not working in Koha 16.x while using MARC-21 format. > >After applying this patch desired result is generated. >--- > labels/label-item-search.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl >index 57f3ff3ea8..1e0f265558 100755 >--- a/labels/label-item-search.pl >+++ b/labels/label-item-search.pl >@@ -88,7 +88,7 @@ if ( $op eq "do_search" ) { > "acqdate(" . $datefrom . '-)'; > } else { > $ccl_query .= ' and ' if $ccl_textbox; >- $ccl_query .= "acqdate,st-date-normalized,ge=" . $datefrom; >+ $ccl_query .= "acqdate,st-date-normalized,ge>=" . $datefrom; > } > } > } >@@ -102,7 +102,7 @@ if ( $op eq "do_search" ) { > $ccl_query .= "acqdate(-" . $dateto . ')'; > } else { > $ccl_query .= ' and ' if ( $ccl_textbox || $datefrom ); >- $ccl_query .= "acqdate,st-date-normalized,le=" . $dateto; >+ $ccl_query .= "acqdate,st-date-normalized,le<=" . $dateto; > } > } > } >-- >2.11.0
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 16355
:
61767
| 78497