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

--- Comment #10 from David Nind <[email protected]> ---
I had another go at testing (using ES7), but couldn't get any search results
(got an error) when checking "Search entire MARC record".

Testing notes, from steps 5-7:
1. Search > Advanced search
2. More options
3. Changed keyword for the first 'Search for' to 'Keyword as phrase'
4. Search term entered: agrovoc
5. Checked "Search entire MARC record" ("Apply field weights to search" was
already checked")
5. I get:

     No results found
     You did not specify any search criteria.

     Error: Unable to perform your search. Please try again.

6. The URL includes `whole_record=on` and `weight_search=on`, but not
`weighted_fields=on`. The full URL is:

/cgi-bin/koha/catalogue/search.pl?advsearch=1&idx=kw%2Cphr&q=agrovoc&whole_record=on&weight_search=on&sort_by=relevance

7. Note: I do get search results when only "Apply field weights to search" s
checked, with 'Subject as phrase' and 'Keyword as phrase'. I get the error if I
have "Search entire MARC record" checked as well.
8. If I apply the second patch and repeat the above steps, I still get the same
error as in step 5, but the URL is now:

/cgi-bin/koha/catalogue/search.pl?advsearch=1&idx=kw%2Cphr&q=agrovoc&whole_record=on&weight_search_submitted=1&weight_search=on&sort_by=relevance

9. With the second patch, the tests pass.
10. All of the above was in the staff interface. For the OPAC, I don't have a
"Search entire MARC record" option to check for the advanced search.

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

Reply via email to