Skip to content

Commit

Permalink
feat: section numbers in search box
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen committed Jan 10, 2025
1 parent 800ee59 commit 7ec1603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "9dbac26d254a8b4f6ea935cb0d4f79608f2cd274",
"rev": "97e01bd21265fdc719371f20ba69bdaf26896357",
"name": "verso",
"manifestFile": "lake-manifest.json",
"inputRev": "custom-head",
Expand Down
2 changes: 1 addition & 1 deletion static/search/domain-mappers.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const docConvTacticDomainMapper = {
const sectionMapper = {
dataToSearchables: (domainData) =>
Object.entries(domainData.contents).map(([key, value]) => ({
searchKey: value[0].data[value[0].data.length - 1],
searchKey: `${value[0].data.sectionNum} ${value[0].data.title}`,
address: `${value[0].address}#${value[0].id}`,
domainId: "Verso.Genre.Manual.section",
ref: value,
Expand Down

0 comments on commit 7ec1603

Please sign in to comment.