Skip to content

Commit

Permalink
Merge pull request #414 from NYPL/NOREF-fix-broken-debugging
Browse files Browse the repository at this point in the history
NOREF - fix broken debugging
  • Loading branch information
nonword authored Oct 24, 2024
2 parents b5dd2c2 + 22c5960 commit c2eb46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ module.exports = function (app, _private = null) {
out.push(`${ind + 1}: ${r.searchResultScore} score > ${r.result.uri}:`)
if (params.search_scope === 'contributor') out.push(`(${r.result.creatorLiteral || r.result.contributorLiteral})`)
if (['standard_number', 'callnumber'].includes(params.search_scope)) out.push(`(${r.result.items && r.result.items[0]?.shelfMark})`)
out.push(`${r.result.title[0]} (displayed as "${r.result.titleDisplay[0]}")`)
out.push(`${r.result.title} (displayed as "${r.result.titleDisplay}")`)
if (r.matchedQueries) out.push(`\n ${r.matchedQueries.join(', ')}`)
return out.join(' ')
})
Expand Down

0 comments on commit c2eb46e

Please sign in to comment.