Skip to content

Commit

Permalink
removed unused functions, re #8
Browse files Browse the repository at this point in the history
  • Loading branch information
apeters committed Jan 10, 2025
1 parent ac5d32b commit 07c8372
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 37 deletions.
37 changes: 0 additions & 37 deletions afrc/src/afrc/Search/SearchPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,43 +96,6 @@ const doQuery = function () {
resultsCount.value = data.total_results;
resultsSelected.value = [];
});
// self.updateRequest = $.ajax({
// type: "GET",
// url: arches.urls.search_results,
// data: queryObj,
// context: this,
// success: function(response) {
// _.each(this.sharedStateObject.searchResults, function(value, key, results) {
// if (key !== "timestamp") {
// delete this.sharedStateObject.searchResults[key];
// }
// }, this);
// _.each(response, function(value, key, response) {
// if (key !== "timestamp") {
// this.sharedStateObject.searchResults[key] = value;
// }
// }, this);
// this.sharedStateObject.searchResults.timestamp(response.timestamp);
// this.sharedStateObject.userIsReviewer(response.reviewer);
// this.sharedStateObject.userid(response.userid);
// this.sharedStateObject.total(response.total_results);
// this.sharedStateObject.hits(response.results.hits.hits.length);
// this.sharedStateObject.alert(false);
// },
// error: function(response, status, error) {
// const alert = new AlertViewModel("ep-alert-red", arches.translations.requestFailed.title, response.responseJSON?.message);
// if(self.updateRequest.statusText !== "abort"){
// this.alert(alert);
// }
// this.sharedStateObject.loading(false);
// },
// complete: function(request, status) {
// self.updateRequest = undefined;
// window.history.pushState({}, "", "?" + $.param(queryObj).split("+").join("%20"));
// this.sharedStateObject.loading(false);
// }
// });
};
async function fetchSystemMapData() {
Expand Down
4 changes: 4 additions & 0 deletions afrc/src/afrc/Search/components/SimpleSearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ const updateQuery = function () {
background-color: lightgray;
font-family: Arial, Helvetica, sans-serif;
}
.p-autocomplete-token-label {
font-size: 1.3rem;
}
:deep(.autocomplete-input) {
height: 3rem;
font-size: 1.5rem;
Expand Down

0 comments on commit 07c8372

Please sign in to comment.