Marc Expert Search removes decimals when searching for specific tags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
I've tested this behavior in 2.0, 2.1 and 2.2.
When doing a Marc Expert Search, it appears that behind the scenes the decimals are being truncated.
For example, the normalization in the DB is converting decimals to spaces in metabib.
Let's say tag 092 subfield a contains 123.456.789.
Normalization in the DB will convert it to "123 456 789"
-[ RECORD 1 ]+-----
id | 1
record | 100
tag | 092
ind1 |
ind2 |
subfield | a
value | 123 456 789
index_vector | '123':3 '456':2 '789':1
When doing a Marc Expert Search from the Advanced Search screen (I've tested on both TPAC and JSPAC), using tag 092 and subfield a with a term of 123.456.789, it builds the link properly.
http://
The problem is caused after the call to search.biblio.marc,
open-ils.search open-ils.
It looks like Application/
Here's part of the actual DB query from the above call,
SELECT f.record, sum(f.sum), count(DISTINCT cp.id), sum(f.sum)
| FROM (SELECT x.record, sum(x.sum) FROM ((SELECT record, AVG(rank(
So it's not finding the proper tags in the database.
Steve
Given the example DB query, I'm considering this one a duplicate of bug 965430.