Skip to content

Commit

Permalink
Fix filtering (#193)
Browse files Browse the repository at this point in the history
* fixing filtering and page changing

* increment client
  • Loading branch information
BryonLewis authored Oct 11, 2024
1 parent d794275 commit adec9d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dive-dsa",
"version": "1.10.19",
"version": "1.10.20",
"author": {
"name": "Kitware, Inc.",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion client/platform/web-girder/views/DIVEMetadataSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default defineComponent({
const storedSortDir = ref(1);
const updateFilter = async ({ filter, sortVal, sortDir }: { filter?: DIVEMetadataFilter, sortVal?: string, sortDir?: number }) => {
if (filter) {
if (filter?.metadataFilters && Object.keys(filter.metadataFilters).length) {
filters.value = filter;
currentPage.value = 0;
currentFilter.value = filter;
Expand Down

0 comments on commit adec9d6

Please sign in to comment.