VuFind

More than a few search terms cause facets to fail

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.8.2
  • Fix Version/s: 1.0RC2
  • Component/s: Search
  • Labels:
    None

Description

E.g.,

An "all fields" search of:

Multiculturalism and the foundations of meaningful life reconciling
autonomy identity and community

will not display facets:

Error: mismatched tag. Expected: </br>.
Source File:
http://vufind.org/demo/Search/AJAX?method=3DGetNarrowOptions&q=
uery=3D((titleStr:%22Multiculturalism%20And%20The%20Foundations%20Of%20Mean
=
ingful%20Life%20Reconciling%20Autonomy%20Identity%20And%20Community%22^1000
=
...etc...

But, if you remove the last term, community, it will succeed.

I think the problem is due to the getNarrowOptions function in
web/services/Search/ajax.js performing an HTTP GET with a huge URL
(QUERY_STRING).

I wonder if solving this problem is as easy as performing an HTTP POST
instead of GET in getNarrowOptions?

Issue Links

Activity

Hide
Bill Dueber added a comment -
This is a special case of ticket 15 which is addressed via the patch applied to that ticket. Once you apply that patch, you can close this ticket. (That's my text above, and that patch resolves it for me)
Show
Bill Dueber added a comment - This is a special case of ticket 15 which is addressed via the patch applied to that ticket. Once you apply that patch, you can close this ticket. (That's my text above, and that patch resolves it for me)
Hide
Greg Pendlebury added a comment -
GET vs. POST will be a non issue with saved searches... famous last words :)
Show
Greg Pendlebury added a comment - GET vs. POST will be a non issue with saved searches... famous last words :)
Hide
Greg Pendlebury added a comment -
Actually, now that I stop being an idiot, Andrew has already fixed this by removing facets from AJAX. Closing.
Show
Greg Pendlebury added a comment - Actually, now that I stop being an idiot, Andrew has already fixed this by removing facets from AJAX. Closing.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: