http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10855

Paola Rossi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #93 from Paola Rossi <[email protected]> ---
I test the patch against master 3.15.00.006.
The 8-th patch "Update database entry" needs to be rebased.
The following errors occur.
So I pass the patch to "Failed QA" status.

I add some searchable additional fields, in particular these ones:
022$a
category NOT_LOAN
category CCODE

Using advanced "Search subscription", I see the following 2 errors:
S1) My subscription' NOT_LOAN-category-additional-field value is "Ordered"
(code "-1" in Administration Authorized values' table);
choosing "NOT_FOR_LOAN" (code "1") in the search field in the left column, the
list shows the subscription.
S2) My subscription' CCODE-category-additional-field value is "Non Fiction"
(code "NFIC");
choosing "Fiction" (code "FIC") in the search field in the left column, the
list shows the subscription.

The string "FIC" is a substring of string "NFIC", as well as the string "1" is
a substring of "-1". So the error could be that search matches codes of values
of the categories in a "contains" way, instead of an "exactly =" way.
The error could occur matching the codes, not the descriptions.
A counterexample is this of category "LOST": description "Lost" is a substring
of description "Lost and Paid For".
The corresponding codes are "1" and "3", mutually distinct strings.
S3 OK) searching "Lost", the subscription whose additional value is set to
"Lost and Paid for" is not found.

Errors filtering at the bottom of the columns of the result table (columns of
additional searchable fields):
F1) My subscription' ISSN-marc-additional-field value is 12345678;
writing 12345678 in the filter at the bottom of the column, the list of
subscriptions becomes null.
F2) My subscription' NOT_LOAN-category-additional-field value is "Ordered";
writing "Ordered" in the filter at the bottom of the column, the list of
subscriptions becomes null.
F3) Using every filter at the bottom of the columns of the additional
searchable fields, the list becomes null.
F4 OK) On the contrary, using the filters at the bottom of the fields that are
not additional the list is filtered OK.

[I use FireFox 25.0.1]

NB1. A form in the left column of the page is often named "Filter" in koha. The
subscription searching is named "Search" there.

NB2. Before patching the zero case, all the subscriptions were found by
advanced search: either the ones modified with additional fields filled, or the
ones not yet modified whose additional fields are therefore still unset. After
patching the zero case, advanced search found only the modified subscriptions.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to