Skip to content

Commit

Permalink
Merge pull request #6 from uoregon-libraries/revert-3-bugfix/adjustBr…
Browse files Browse the repository at this point in the history
…owseYearRange

Revert "Adjust filter by year range"
  • Loading branch information
megwalt authored Jan 3, 2025
2 parents e6e4aa4 + 1d346e5 commit 232a14f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class BrowseByDatePageComponent extends BrowseByMetadataPageComponent {
* @param scope The scope under which to fetch the earliest item for
*/
updateStartsWithOptions(definition: string, metadataKeys: string[], scope?: string) {
const firstItemRD = this.browseService.getFirstItemFor(definition, scope, SortDirection.ASC);
const firstItemRD = this.browseService.getFirstItemFor(definition, scope, SortDirection.DESC);
const lastItemRD = this.browseService.getFirstItemFor(definition, scope, SortDirection.DESC);
this.subs.push(
observableCombineLatest([firstItemRD, lastItemRD]).subscribe(([firstItem, lastItem]) => {
Expand Down

0 comments on commit 232a14f

Please sign in to comment.