[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-05-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #27 from Fridolin Somers  ---
Thanks all for keeping this alive ;)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-05-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #26 from David Cook  ---
Another idea would be to use Elasticsearch specific syntax here like
"acqdate:>=-XX-XX" and "acqdate:<=-XX-XX". (See bug 28899)

I am actually tempted to try that out locally and hot fix using that...

--

Admittedly, that would set a precedent for creating a ES specific query instead
of a Zebra specific query.

But... it could be much less painful and make for a much neater change.

As Katrin has noted, there are no unit tests for the change to
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm which is going to be an
automatic "Failed QA" here anyway.

What one could do is create a Koha::* class of some kind that builds the search
for label-item-search.pl and unit test that.

Anyway, food time...

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-05-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

David Cook  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=24895

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-05-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #25 from David Cook  ---
The original implementation of the "ccl_query" parameter is bizarre. A search
interface with 4 boxes shouldn't be that overcooked. 

I'm just reviewing the code right now, but some of these patches look weird.
Probably because the original code is weird. 

Oh well. I'm going to wear my Tester hat instead of my QA hat for this one...

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-05-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

--- Comment #24 from David Cook  ---
We've bumped into this issue, so I will be looking at this more. 

--

Note for testing:
1. Go to /cgi-bin/koha/labels/label-edit-batch.pl?op=new
2. Click "Add item(s)"
3. In the pop-up window, click the date picker next to "Added on or before
date:" and choose today's date
4. Click "Search" button

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #23 from Phan Tung Bui  ---
Created attachment 163955
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163955=edit
Bug 30745 : Fix pagination error

1. I've fixed the pagination option
2. "Select all" and "clear all" buttons seem all functional for me. Could you
double check it with my new test plan?

Test Plan 
- Activate Zebra as search engine
- Cataloging ->  Label Creator 
- Click on "New" then "Label Batch"
- Click on "Add item(s)"
- Choose a search option (For exemple i put "a" for "Title" so that we can
obtain a result that has multiple pages)
- Click on "Search"
- Scroll all the pages using page number or "Previous" and "Next" button to
test the pagination option
- Click on "Select all" or "Clear all" to test the functionality of both
buttons then click on "Add checked", the barcode of the seleccted items will be
added to the "Add by barcode(s) or itemnumbers(s)" case

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Phan Tung Bui  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-03-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #22 from David Nind  ---
Why the pagination and links aren't working working may be because of the CSRF
changes in bug 34478 and bug 36192 (but I don't know enough to know if that is
the cause).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-03-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |Failed QA

--- Comment #21 from David Nind  ---
Thanks for fixing the error identified in the previous testing. This no longer
occurs (using Zebra and putting a letter in number index fields such as ISBN,
Publication date, and so on). 

However, for:

1. Search results: the pagination is no longer working - it just goes back to
the search form if you click on next or any of the numbers. There are some
console errors on the search results page (using the web developer tools)

2. The select all and clear all links no longer work

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-03-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #20 from Phan Tung Bui  ---
Created attachment 162855
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162855=edit
Bug 30745 : Fix undefined value error while using zebra

Plan test : 
- Apply this batch
- Set Zebra as searchEngine
- Put a letter in the input box for these index searches (without any dates in
the filters): publication date, standard number, ISBN, ISSN, call number,
acquisition date
- The page's supposed to refresh itself (so that it has the same behavior as
elasticSearch)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-03-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Phan Tung Bui  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Phan Tung Bui  changed:

   What|Removed |Added

 CC||phan-tung@inlibro.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-01-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

David Nind  changed:

   What|Removed |Added

   Assignee|alex.arn...@biblibre.com|emily-rose.francoeur@inLibr
   ||o.com
 CC||da...@davidnind.com
 Status|Needs Signoff   |Failed QA

--- Comment #19 from David Nind  ---
I was about to sign off, but then came across this Zebra only error - I get
this error after the patches are applied (and a reindex):

   Error: Can't use an undefined value as an ARRAY reference at
/kohadevbox/koha/labels/label-item-search.pl line 88
   

1. Generated by putting a letter in the input box for these index searches
(without any dates in the filters): publication date, standard number, ISBN,
ISSN, call number, acquisition date

2. I could also generate this error with a number in a text field, for example:
Author index, 2011 (but with 2000 no error is generated)

3. With Elasticsearch, no results are displayed and the form just refreshes
(both before and after the patches, and the same with Zebra before the patches)

Other notes
===

1. I couldn't work out how or where cgi-bin/koha/labels/label-item-search.pl is
used/accessed from - something to do with acquisitions?

2. I've changed the assignee.

3. I didn't test with a UNIMARC installation.

Testing notes (using koha-testing-docker)
=

Setup
~

To test with Elasticsearch or OpenSearch - start up KTD with Elasticsearch or
OpenSearch: ktd --es8 up OR ktd --os2 up (I didn't test with Open Search, just
Zebra and Elasticsearch)

Go to this page in the staff interface:
http://127.0.0.1:8081/cgi-bin/koha/labels/label-item-search.pl

Searching using Zebra (after KTD is started with --es8):
- Change the SearchEngine system preference to Zebra
- Reload http://127.0.0.1:8081/cgi-bin/koha/labels/label-item-search.pl
- Reindex: koha-rebuild-zebra -d -f -v kohadev
- Repeat all the example searches - you should get the same results

Demonstrating the issue and that the patches fix it
~~~

Notes: In the sample data, the acquisition date is recorded in 952$d - Date
acquired. 
   For many items, 09/04/2014 is used.
   For some items, these dates are used 05/08/2014, 05/07/2014, 10/15/2014,
12/04/2014, 1/05/2015.
   Many items don't have a date recorded.
   If there is no value in the index field, it is ignored.
   If an index is selected and a value is entered, the results should be
filtered by any values entered in 'Added on or after date' and 'Added on or
before date' fields.

Before the patches: index searches work, but when used with 'Added on or after
date' and 'Added on or before date' options, the search results ignore them.
However, entering a date for the 'Acquisition date' index does work.

A title index search:
- Title index: perl
  => Expected result: 11
  => Actual result: 11

A combined search with dates:
- Title index: perl
- Added on or after date: 09/04/2014
  => Expected result: 10 (1 perl record has no items)
  => Actual result: No results

A combined search with dates:
- Title index: perl
- Added on or before date: 09/04/2014
  => Expected result: 10 (1 perl record has no items)
  => Actual result: No results

Acquisition date index search:
- Index: select 'Acquisition date' from the dropdown list
- Value to enter: 09/04/2014
  => Expected result: 352 results
  => Actual result: 352 result

Acquisition date index search:
- Index: select 'Acquisition date' from the dropdown list
- Value to enter: 09/04/2014
- Added on or after date: 09/04/2014
  OR
- Added on or before date: 09/04/2014
  OR
  Use both or none
  => Expected result: 352 results
  => Actual result: 352 results

Search using 'Added on or after date' (after date) only:
- Added on or after date: 09/04/2014
  => Expected result: should get 408 records
  => Actual result: 0 results

Search using 'Added on or before date' (before date) only:
- Added on or after date: 09/04/2014
  => Expected result: should get 354 records
  => Actual result: 0 results

Publication date index search using 2011 (AFTER patches are applied - doesn't
work as expected BEFORE the patches are applied):
- Results if no before or after filter added: 8 (as expected)
- Results if Added on or after date: 09/04/2014 - 8 (as expected)
- Results if Added on or before date: 09/04/2014 - 7 (as expected)
- Results for a date range - 7 (as expected):
  . Added on or after date: 09/04/2014
  . Added on or before date: 09/05/2014
- Results for a date range - 8 (as expected):
  . Added on or after date: 09/04/2014
  . Added on or before date: 10/15/2014
- Results for a date range - 1 (as expected):
  . Added on or after date: 09/05/2014
  . Added on or before date: 10/15/2014
(One record 

[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2024-01-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Marie-Luce Laflamme  changed:

   What|Removed |Added

 CC||marie-luce.laflamme@inlibro
   ||.com

--- Comment #18 from Marie-Luce Laflamme  ---
Is there a kind volunteer who could spare some time to test this rebased patch?
Your feedback is much appreciated.
Cheers!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-11-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

 QA Contact|katrin.fisc...@bsz-bw.de|testo...@bugs.koha-communit
   ||y.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #17 from Émily-Rose Francoeur  ---
Created attachment 157934
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157934=edit
Bug 30745: Display pagination for the results page

I have fixed the pagination issue when the search returns multiple results.

Test plan:
- Enable elasticsearch
- git to labels/label-item-search.pl
- search using after date only
=> check you get items with date-of-acquisition greater than after
date
- search using before date only
=> check you get items with date-of-acquisition less than before
date
- search using after and before date
=> check you get items with date-of-acquisition between after and
before
- Combine this searches with a specified index
- enable zebra and repeat these tests
pagination tests
- Perform a search that returns more than 20 notices
- Navigate through different result pages using page numbers, the "Next"
button, and the "Previous" button
=> On each page, check that "Results X through X of X" displays the
correct information

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Émily-Rose Francoeur  changed:

   What|Removed |Added

 CC||caroline.cyr-la-rose@inlibr
   ||o.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Émily-Rose Francoeur  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

--- Comment #16 from Émily-Rose Francoeur  ---
The patch has been rebased.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Émily-Rose Francoeur  changed:

   What|Removed |Added

 Attachment #135967|0   |1
is obsolete||

--- Comment #15 from Émily-Rose Francoeur  ---
Created attachment 157195
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157195=edit
Bug 30745: handle ES ranges for date of acquisition

Test plan:
  - Enable elasticsearch
  - git to labels/label-item-search.pl
  - search using after date only
=> check you get items with date-of-acquisition greater than after
date
  - search using before date only
=> check you get items with date-of-acquisition less than before
date
  - search using after and before date
=> check you get items with date-of-acquisition between after and
before
  - Combine this searches with a specified index
  - enable zebra and repeat these tests

Signed-off-by: Andrew Fuerste-Henry 

Signed-off-by: Katrin Fischer 

https://bugs.koha-community.org/show_bug.cgi?id=30845

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Émily-Rose Francoeur  changed:

   What|Removed |Added

 Attachment #135966|0   |1
is obsolete||

--- Comment #14 from Émily-Rose Francoeur  ---
Created attachment 157194
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157194=edit
Bug 30745: Use query builder and search_compat in label-item-search

Test plan:
  - apply this patch,
  - make some searches in labels/label-item-search.pl using
the 3 form input (index, after date, before date),
  - check it works like before

Signed-off-by: Andrew Fuerste-Henry 

Signed-off-by: Katrin Fischer 

https://bugs.koha-community.org/show_bug.cgi?id=30845

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Émily-Rose Francoeur  changed:

   What|Removed |Added

 Attachment #135966|1   |0
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Émily-Rose Francoeur  changed:

   What|Removed |Added

 CC||emily-rose.francoeur@inLibr
   ||o.com
 Attachment #157192|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-10-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Émily-Rose Francoeur  changed:

   What|Removed |Added

 Attachment #135966|0   |1
is obsolete||

--- Comment #13 from Émily-Rose Francoeur  ---
Created attachment 157192
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157192=edit
Bug 30745: Use query builder and search_compat in label-item-search

Test plan:
  - apply this patch,
  - make some searches in labels/label-item-search.pl using
the 3 form input (index, after date, before date),
  - check it works like before

Signed-off-by: Andrew Fuerste-Henry 

Signed-off-by: Katrin Fischer 

https://bugs.koha-community.org/show_bug.cgi?id=30845

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2023-07-20 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Fridolin Somers  changed:

   What|Removed |Added

 CC||fridolin.som...@biblibre.co
   ||m

--- Comment #12 from Fridolin Somers  ---
Patches need rebase

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-07-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

 CC||oleon...@myacpl.org

--- Comment #11 from Katrin Fischer  ---
*** Bug 28987 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

 Status|Signed Off  |Failed QA
 QA Contact|testo...@bugs.koha-communit |katrin.fisc...@bsz-bw.de
   |y.org   |

--- Comment #10 from Katrin Fischer  ---
This tests well, so happy to sign-off, but we are missing unit tests for the
changes to Querybuilder.pm. Let us know if you need help with this.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

 Attachment #135785|0   |1
is obsolete||

--- Comment #9 from Katrin Fischer  ---
Created attachment 135967
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135967=edit
Bug 30745: handle ES ranges for date of acquisition

Test plan:
  - Enable elasticsearch
  - git to labels/label-item-search.pl
  - search using after date only
=> check you get items with date-of-acquisition greater than after
date
  - search using before date only
=> check you get items with date-of-acquisition less than before
date
  - search using after and before date
=> check you get items with date-of-acquisition between after and
before
  - Combine this searches with a specified index
  - enable zebra and repeat these tests

Signed-off-by: Andrew Fuerste-Henry 

Signed-off-by: Katrin Fischer 

https://bugs.koha-community.org/show_bug.cgi?id=30845

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

 Attachment #135784|0   |1
is obsolete||

--- Comment #8 from Katrin Fischer  ---
Created attachment 135966
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135966=edit
Bug 30745: Use query builder and search_compat in label-item-search

Test plan:
  - apply this patch,
  - make some searches in labels/label-item-search.pl using
the 3 form input (index, after date, before date),
  - check it works like before

Signed-off-by: Andrew Fuerste-Henry 

Signed-off-by: Katrin Fischer 

https://bugs.koha-community.org/show_bug.cgi?id=30845

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

   Patch complexity|--- |Small patch

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

   Severity|minor   |normal
   Assignee|koha-b...@lists.koha-commun |alex.arn...@biblibre.com
   |ity.org |

--- Comment #7 from Katrin Fischer  ---
Alex, please don't forget to assign the bug :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Andrew Fuerste-Henry  changed:

   What|Removed |Added

 Attachment #134953|0   |1
is obsolete||

--- Comment #6 from Andrew Fuerste-Henry  ---
Created attachment 135785
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135785=edit
Bug 30745: handle ES ranges for date of acquisition

Test plan:
  - Enable elasticsearch
  - git to labels/label-item-search.pl
  - search using after date only
=> check you get items with date-of-acquisition greater than after
date
  - search using before date only
=> check you get items with date-of-acquisition less than before
date
  - search using after and before date
=> check you get items with date-of-acquisition between after and
before
  - Combine this searches with a specified index
  - enable zebra and repeat these tests

Signed-off-by: Andrew Fuerste-Henry 

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Andrew Fuerste-Henry  changed:

   What|Removed |Added

 Attachment #134952|0   |1
is obsolete||

--- Comment #5 from Andrew Fuerste-Henry  ---
Created attachment 135784
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135784=edit
Bug 30745: Use query builder and search_compat in label-item-search

Test plan:
  - apply this patch,
  - make some searches in labels/label-item-search.pl using
the 3 form input (index, after date, before date),
  - check it works like before

Signed-off-by: Andrew Fuerste-Henry 

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Andrew Fuerste-Henry  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-06-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Andrew Fuerste-Henry  changed:

   What|Removed |Added

 CC||and...@bywatersolutions.com

--- Comment #4 from Andrew Fuerste-Henry  ---
*** Bug 30908 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-05-24 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Shi Yao Wang  changed:

   What|Removed |Added

 CC||philippe.blo...@inlibro.com

--- Comment #3 from Shi Yao Wang  ---
For Bug 16355, the patch doesn't apply and the last comment is from 2018.

I tested the patch with elasticsearch and it works for me, but I do not have a
functioning zebra to test with. Do I signoff nonetheless?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-05-24 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Shi Yao Wang  changed:

   What|Removed |Added

 CC||shi-yao.w...@inlibro.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-05-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Katrin Fischer  changed:

   What|Removed |Added

   Severity|enhancement |minor

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-05-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

Alex Arnaud  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-05-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #2 from Alex Arnaud  ---
Created attachment 134953
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134953=edit
Bug 30745: handle ES ranges for date of acquisition

Test plan:
  - Enable elasticsearch
  - git to labels/label-item-search.pl
  - search using after date only
=> check you get items with date-of-acquisition greater than after
date
  - search using before date only
=> check you get items with date-of-acquisition less than before
date
  - search using after and before date
=> check you get items with date-of-acquisition between after and
before
  - Combine this searches with a specified index
  - enable zebra and repeat these tests

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 30745] ES : Search never return result using after-date and/or before-date in labels/label-item-search.pl

2022-05-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745

--- Comment #1 from Alex Arnaud  ---
Created attachment 134952
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134952=edit
Bug 30745: Use query builder and search_compat in label-item-search

Test plan:
  - apply this patch,
  - make some searches in labels/label-item-search.pl using
the 3 form input (index, after date, before date),
  - check it works like before

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/