Skip to content

Commit

Permalink
feat(search): add publication title filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Jan 14, 2025
1 parent a8f7b3d commit 642f9f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/src/lib/components/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ export const searchConfig = {
size: 1000,
sort: 'key'
},
publicationTitles: {
title: 'Publication title',
hide_zero_doc_count: true,
size: 1500,
sort: 'key'
},
publicationYears: {
title: 'Publication year',
hide_zero_doc_count: true,
Expand Down Expand Up @@ -167,6 +173,7 @@ export function load({ sortAggregationsBy = 'key' } = {}) {
damage: getHierarchicalValues(item.layoutDesc?.layout?.damage?.ana ?? undefined, false),
repository,
publicationAuthors: item.publicationAuthors,
publicationTitles: item.publicationTitles,
publicationYears: item.publicationYears
};
});
Expand Down

0 comments on commit 642f9f2

Please sign in to comment.