Skip to content

Commit

Permalink
Merge branch 'main' into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
nonword committed Oct 24, 2024
2 parents d6138a2 + c2eb46e commit f1ebcde
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 f1ebcde

Please sign in to comment.