hashicorp-forge / hermes

A document management system
Mozilla Public License 2.0
1.8k stars 95 forks source link

Fix bug when filtering to an owner not in the top 100 #627

Closed jeffdaley closed 5 months ago

jeffdaley commented 5 months ago

Fixes a regression introduced in #619 (https://github.com/hashicorp-forge/hermes/pull/619/files#diff-3117657bac2de8ce920637bea05185707b14377f151ecabe947a3245417d5fb4L83) where filtering to an owner (by editing the URL) would cause the app to break if the owner's docCount wasn't in the top 100. Also improves the "clear all" button to not alter the current scope.