Advance search search page (#2608)

* Update homepage-config.interface.ts

change comment of homepage-config.interface.ts

* advance Search add

* slove error while unti test

* write unit test

* Ensures select element has an accessible name

* change data pass into url

* error resolve

* Search.Filters.Applied.F.Title given name as Title

* Advanced filters configurable in the User interface (in config.*.yml)

* turn on/off and add filters as a list

* remove currenturl

* resolve

* change envierment config and url pass data

* set enabled: false ,and remove debugger ,remove searchConfig

* expect clauses  add

* reslove conflict

* merge added

* remove  commented and design change advance search

* moving the "add" button to its own col-lg-12

* resolve conflict

* reslove error

* merge en.json5 file

* remove trailing spaces

* resolve Conflicts

* Fix typo. property is filter not filters

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
This commit is contained in:
gaurav patel
2024-02-27 01:41:28 +05:30
committed by GitHub
parent bfeeeac96f
commit 91a419fb0f
16 changed files with 326 additions and 8 deletions

View File

@@ -24,8 +24,8 @@ import { MarkdownConfig } from './markdown-config.interface';
import { FilterVocabularyConfig } from './filter-vocabulary-config';
import { DiscoverySortConfig } from './discovery-sort.config';
import { CommunityPageConfig } from './community-page-config.interface';
import {QualityAssuranceConfig} from './quality-assurance.config';
import { QualityAssuranceConfig } from './quality-assurance.config';
import { SearchConfig } from './search-page-config.interface';
export class DefaultAppConfig implements AppConfig {
production = false;
@@ -498,4 +498,12 @@ export class DefaultAppConfig implements AppConfig {
},
pageSize: 5,
};
search: SearchConfig = {
advancedFilters: {
enabled: false,
filter: ['title', 'author', 'subject', 'entityType']
}
};
}