it is better to have an config option than to assume that
it will never work with raw pazpar2
<script type="text/javascript">
var mkws_config = {
use_service_proxy: false,
+ disable_facet_authors_search: true, // does not work with raw pazpar2
pazpar2_url : "/pazpar2/",
perpage_default: 10
};
});
it("limit search to first author", function () {
- if (!mkws_config.use_service_proxy) {
- debug("running raw pp2, ignore non-functional limit search for authors");
+ if (mkws_config.disable_facet_authors_search) {
+ debug("Facets: ignore limit search for authors");
return;
}