[Koha-bugs] [Bug 36991] Add ability to scan call numbers index/search field

2024-11-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36991

Lucas Gass (lukeg)  changed:

   What|Removed |Added

 Status|Pushed to main  |Needs documenting
 CC||lu...@bywatersolutions.com

--- Comment #11 from Lucas Gass (lukeg)  ---
Enhancement, no 24.05.x backport.

-- 
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 36991] Add ability to scan call numbers index/search field

2024-11-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36991

Katrin Fischer  changed:

   What|Removed |Added

  Text to go in the||This adds 'call number' to
  release notes||the available search
   ||options when using the
   ||'scan indexes' feature from
   ||the advanced search page in
   ||the staff interface.
   Keywords|release-notes-needed|

-- 
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 36991] Add ability to scan call numbers index/search field

2024-11-08 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36991

--- Comment #10 from Katrin Fischer  ---
Pushed for 24.11!

Well done everyone, thank you!

-- 
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 36991] Add ability to scan call numbers index/search field

2024-11-08 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36991

Katrin Fischer  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to main
 Version(s)||24.11.00
released in||

-- 
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 36991] Add ability to scan call numbers index/search field

2024-11-08 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36991

Katrin Fischer  changed:

   What|Removed |Added

   Keywords||release-notes-needed
Version|unspecified |Main

-- 
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 36991] Add ability to scan call numbers index/search field

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

--- Comment #9 from Nick Clemens (kidclamp)  ---
(In reply to Marcel de Rooy from comment #6)
> Nick, still care to take a quick look at Elastic part ?

Looks good and works for me

-- 
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 36991] Add ability to scan call numbers index/search field

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

--- Comment #8 from Janusz Kaczmarek  ---
(In reply to Marcel de Rooy from comment #3)
> diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
> index 985f7391bc..a71ea8f4c4 100644
> --- a/etc/zebradb/ccl.properties
> +++ b/etc/zebradb/ccl.properties
> @@ -1039,7 +1039,7 @@ stack 1=8018
> 
> -Local-classification 1=8022
> +#Local-classification 1=8022
> 
> What about bib1.att ?
> att 20Local-classification
> att 8022Local-classification
> 
> No blocker

This is a good question.  The point is that this duplicate in ccl.properties:

Local-classification 1=8022
Local-classification 1=20

together with:

callnum Local-classification

creates problems with scanning. The official id for Local-classification (from
LoC) is 20, so I decided to leave 20 and remove 8022. 

Currently, in Zebra, we index 952 $o with Local-classification index (cf.
biblio-zebra-indexdefs.xsl).  This means, it is searchable with pqf queries
like 
@attr 1=Local-classification, @attr 1=20 and @attr 1=8022.

With the current mapping in ccl.properties search for callnum produces
following PQF query (mind "callnum Local-classification" in ccl.properties):

@or @attr 1=20 XXX @attr 1=8022 XXX

After the removal of 8022 from ccl.properties we get just:

@attr 1=20 XXX 

And this allows for scanning.

So, it looks OK, IMO.  Or maybe we should remove the 8022 line from bib1? It
should not hurt nothing (we do not use 8022 directly).

-- 
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 36991] Add ability to scan call numbers index/search field

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

--- Comment #7 from Janusz Kaczmarek  ---
(In reply to Marcel de Rooy from comment #4)
> +'callnum' => 'local-classification',
> 
> And yet another one :) Wouldnt something like callnum(ber) not be easier?

This is for consistency.  We have 'callnum' in indexex list in C4::Search, we
call it callnum in ccl.properties.  Search string for callnumber resulting from
advanced search has idx=callnum etc.

And internal name of the ES search field is 'local-classification', so we need
the mapping.

-- 
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 36991] Add ability to scan call numbers index/search field

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

Marcel de Rooy  changed:

   What|Removed |Added

 QA Contact|testo...@bugs.koha-communit |m.de.r...@rijksmuseum.nl
   |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 36991] Add ability to scan call numbers index/search field

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

Marcel de Rooy  changed:

   What|Removed |Added

 CC||n...@bywatersolutions.com

--- Comment #6 from Marcel de Rooy  ---
Nick, still care to take a quick look at Elastic part ?

-- 
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 36991] Add ability to scan call numbers index/search field

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

Marcel de Rooy  changed:

   What|Removed |Added

 Attachment #167266|0   |1
is obsolete||

--- Comment #5 from Marcel de Rooy  ---
Created attachment 173863
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173863&action=edit
Bug 36991: Add ability to scan call numbers index/search field

Some libraries ask for the ability to scan/browse the call numbers index.

Test plan:
==
1. Have an installation with items with callnumbers (in ktd with standard
   test data set: add some callnumbers to the items).
2. Go to Advanced search > More options; choose Call number in the first
   drop list and mark Scan indexes.  Enter one of the call numbers you
   assigned to the items and perform the search.  You should get no
   results.
3. Apply the pach; restart all; when using ES:
   koha-elasticsearch --rebuild -r -d kohadev
4. Repeat p. 2.  You should get a list with at least one call number.
   The link should lead you to the record(s) with items with the selected
   call number.

This should work for ES and for Zebra, but for Zebra you would need to
replace /etc/koha/zebradb/ccl.properties with the repository version; and
you will get one token results on the list, like for other indexes.

Signed-off-by: Roman Dolny 

Signed-off-by: Marcel de Rooy 

-- 
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 36991] Add ability to scan call numbers index/search field

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

Marcel de Rooy  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA
   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 36991] Add ability to scan call numbers index/search field

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

--- Comment #4 from Marcel de Rooy  ---
+'callnum' => 'local-classification',

And yet another one :) Wouldnt something like callnum(ber) not be easier?
No blocker

-- 
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 36991] Add ability to scan call numbers index/search field

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

Marcel de Rooy  changed:

   What|Removed |Added

 CC||m.de.r...@rijksmuseum.nl

--- Comment #3 from Marcel de Rooy  ---
diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
index 985f7391bc..a71ea8f4c4 100644
--- a/etc/zebradb/ccl.properties
+++ b/etc/zebradb/ccl.properties
@@ -1039,7 +1039,7 @@ stack 1=8018

-Local-classification 1=8022
+#Local-classification 1=8022

What about bib1.att ?
att 20Local-classification
att 8022Local-classification

No blocker

-- 
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 36991] Add ability to scan call numbers index/search field

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

Roman Dolny  changed:

   What|Removed |Added

 Attachment #167249|0   |1
is obsolete||

--- Comment #2 from Roman Dolny  ---
Created attachment 167266
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167266&action=edit
Bug 36991: Add ability to scan call numbers index/search field

Some libraries ask for the ability to scan/browse the call numbers index.

Test plan:
==
1. Have an installation with items with callnumbers (in ktd with standard
   test data set: add some callnumbers to the items).
2. Go to Advanced search > More options; choose Call number in the first
   drop list and mark Scan indexes.  Enter one of the call numbers you
   assigned to the items and perform the search.  You should get no
   results.
3. Apply the pach; restart all; when using ES:
   koha-elasticsearch --rebuild -r -d kohadev
4. Repeat p. 2.  You should get a list with at least one call number.
   The link should lead you to the record(s) with items with the selected
   call number.

This should work for ES and for Zebra, but for Zebra you would need to
replace /etc/koha/zebradb/ccl.properties with the repository version; and
you will get one token results on the list, like for other indexes.

Signed-off-by: Roman Dolny 

-- 
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 36991] Add ability to scan call numbers index/search field

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

Roman Dolny  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
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 36991] Add ability to scan call numbers index/search field

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

--- Comment #1 from Janusz Kaczmarek  ---
Created attachment 167249
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167249&action=edit
Bug 36991: Add ability to scan call numbers index/search field

Some libraries ask for the ability to scan/browse the call numbers index.

Test plan:
==
1. Have an installation with items with callnumbers (in ktd with standard
   test data set: add some callnumbers to the items).
2. Go to Advanced search > More options; choose Call number in the first
   drop list and mark Scan indexes.  Enter one of the call numbers you
   assigned to the items and perform the search.  You should get no
   results.
3. Apply the pach; restart all; when using ES:
   koha-elasticsearch --rebuild -r -d kohadev
4. Repeat p. 2.  You should get a list with at least one call number.
   The link should lead you to the record(s) with items with the selected
   call number.

This should work for ES and for Zebra, but for Zebra you would need to
replace /etc/koha/zebradb/ccl.properties with the repository version; and
you will get one token results on the list, like for other indexes.

-- 
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 36991] Add ability to scan call numbers index/search field

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

Janusz Kaczmarek  changed:

   What|Removed |Added

 Status|NEW |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/