Skip to content

Commit

Permalink
Minor fix to Search panel
Browse files Browse the repository at this point in the history
  • Loading branch information
006627 committed Sep 6, 2024
1 parent 7946d37 commit dce81ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import java.util.List;
import java.util.Map;

import com.databasepreservation.common.api.v1.utils.StringResponse;
import com.databasepreservation.common.client.ViewerConstants;
import com.databasepreservation.common.client.common.DefaultAsyncCallback;
import com.databasepreservation.common.client.common.lists.TableRowList;
Expand Down Expand Up @@ -308,7 +309,7 @@ public boolean isSearchInfoDefined() {
private void saveQuery() {
SearchInfo searchInfo = createSearchInfo();
CollectionService.Util
.call((String savedSearchUUID) -> searchPanel.querySavedHandler(true, database, savedSearchUUID),
.call((StringResponse savedSearchUUID) -> searchPanel.querySavedHandler(true, database, savedSearchUUID.getValue()),
(String errorMessage) -> searchPanel.querySavedHandler(false, database, null))
.saveSavedSearch(database.getUuid(), database.getUuid(), table.getId(), messages.searchOnTable(table.getName()),
"", searchInfo);
Expand Down

0 comments on commit dce81ce

Please sign in to comment.