CUL-DigitalServices / libraries-gateway

Cambridge Libraries
1 stars 4 forks source link

Incorrect result counts after AquaBrowser facet drill down #231

Closed ucamhal closed 10 years ago

ucamhal commented 10 years ago

When drilling down into aquabrowser search results, the result counts after drilling are often not the same as the advertised count on the facet.

For example:

  1. search for "Darwin":
  2. The "Subject" facet value "Evolution" has 572 results for both. Lib Gateway & Aqua. Drill down into the "Evolution" facet:

The query performed by Library Gateway for this drill down into Evolution is:

Whereas on AquaBrowser the query remains as Darwin but the ref query param contains the value 22984 which is the ID of the "Evolution" "Subject" facet. Subsequent drill downs are appended to the ref value, separated with semicolons.

It appears that Library Gateway is not applying selected facets in the correct way. Or at least not in the same way that AquaBrowser does.

Coenego commented 10 years ago

Fixed in https://github.com/CUL-DigitalServices/libraries-gateway/pull/233

Coenego commented 10 years ago

Fixed in https://github.com/CUL-DigitalServices/libraries-gateway/pull/233