Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Nov 25, 2024
1 parent b14e976 commit 8289449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/searchUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export function mapQueryToSearchParams({
}: SearchQueryParams): SearchParams {
const hasIdentifiers = issn || isbn || oclc || lccn
const filters = collapseMultiValueQueryParams(queryFilters)

//TODO: can we merge the SearchQueryParams and SearchParams types by renaming some params? e.g. search_scope, sort, sort_direction. Also maybe passing in identifiers so it maches this pattern.
return {
q,
field: search_scope,
Expand Down

0 comments on commit 8289449

Please sign in to comment.