Skip to content

Commit

Permalink
Use suggest1 for resources, for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
kefo committed Apr 2, 2021
1 parent 239b28c commit eba9042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bfe.js
Original file line number Diff line number Diff line change
Expand Up @@ -4931,7 +4931,7 @@ bfe.define('src/bfe', ['require', 'exports', 'src/bfestore', 'src/bfelogging', '
lu.name = scheme.substr(scheme.lastIndexOf('/') + 1);
lu.load = {};
lu.load.scheme = scheme;
if ( scheme.indexOf('id.loc.gov') > 0 ) {
if ( scheme.indexOf('id.loc.gov') > 0 && !scheme.match(/(resources)/) ) {
var suggest2 = require('src/lookups/lcshared_suggest2');
lu.load.source = function (query, processSync, processAsync) {
return suggest2.suggest2Query(query, cache, scheme, processSync, processAsync);
Expand Down

0 comments on commit eba9042

Please sign in to comment.