diff --git a/static/js/managers/SearchManager.js b/static/js/managers/SearchManager.js index c95efa3d..60c0f28a 100644 --- a/static/js/managers/SearchManager.js +++ b/static/js/managers/SearchManager.js @@ -289,6 +289,7 @@ export class SearchManager { pageState.searchOptions.tags = options.tags || false; pageState.searchOptions.loraName = options.loraName || false; pageState.searchOptions.loraModel = options.loraModel || false; + pageState.searchOptions.prompt = options.prompt || false; } else if (this.currentPage === 'loras' || this.currentPage === 'checkpoints' || this.currentPage === 'embeddings') { // Update only the relevant fields in searchOptions instead of replacing the whole object pageState.searchOptions.filename = options.filename || false; diff --git a/static/js/state/index.js b/static/js/state/index.js index 1dfbf568..0a61e7b5 100644 --- a/static/js/state/index.js +++ b/static/js/state/index.js @@ -103,6 +103,7 @@ export const state = { tags: true, loraName: true, loraModel: true, + prompt: true, recursive: getStorageItem('recipes_recursiveSearch', true), }, filters: {