@@ -78,7 +78,7 @@ export class CollectionsDiscoverComponent {
7878 providerId = signal < string > ( '' ) ;
7979 defaultSearchFiltersInitialized = signal ( false ) ;
8080
81- readonly useShtrovSearch : boolean = this . environment . collectionSubmissionWithCedar ;
81+ readonly useShareTroveSearch = this . environment . collectionSubmissionWithCedar ;
8282
8383 collectionProvider = select ( CollectionsSelectors . getCollectionProvider ) ;
8484 collectionDetails = select ( CollectionsSelectors . getCollectionDetails ) ;
@@ -107,8 +107,8 @@ export class CollectionsDiscoverComponent {
107107 this . initializeProvider ( ) ;
108108 this . setupBrandingEffect ( ) ;
109109
110- if ( this . useShtrovSearch ) {
111- this . setupShtrovSearchEffect ( ) ;
110+ if ( this . useShareTroveSearch ) {
111+ this . setupShareTroveSearchEffect ( ) ;
112112 } else {
113113 this . setupCollectionDetailsEffect ( ) ;
114114 this . setupUrlSyncEffect ( ) ;
@@ -119,7 +119,7 @@ export class CollectionsDiscoverComponent {
119119 this . destroyRef . onDestroy ( ( ) => {
120120 if ( this . isBrowser ) {
121121 this . actions . clearCollections ( ) ;
122- if ( this . useShtrovSearch ) {
122+ if ( this . useShareTroveSearch ) {
123123 this . actions . resetSearchState ( ) ;
124124 }
125125 this . headerStyleHelper . resetToDefaults ( ) ;
@@ -133,7 +133,7 @@ export class CollectionsDiscoverComponent {
133133 }
134134
135135 onSearchTriggered ( searchValue : string ) : void {
136- if ( ! this . useShtrovSearch ) {
136+ if ( ! this . useShareTroveSearch ) {
137137 this . actions . setSearchValue ( searchValue ) ;
138138 this . actions . setPageNumber ( '1' ) ;
139139 }
@@ -161,15 +161,14 @@ export class CollectionsDiscoverComponent {
161161 } ) ;
162162 }
163163
164- private setupShtrovSearchEffect ( ) : void {
164+ private setupShareTroveSearchEffect ( ) : void {
165165 effect ( ( ) => {
166166 const provider = this . collectionProvider ( ) ;
167167 const collectionId = this . primaryCollectionId ( ) ;
168168
169169 if ( ! provider || ! collectionId || this . defaultSearchFiltersInitialized ( ) ) return ;
170170
171171 const collectionIri = `${ this . environment . apiDomainUrl } /v2/collections/${ collectionId } /` ;
172- // TODO(ENG-9818): verify 'isContainedBy' property path against shtrove API before shipping
173172 this . actions . setDefaultFilterValue ( 'isContainedBy' , collectionIri ) ;
174173
175174 if ( provider . requiredMetadataTemplate ?. attributes ?. template ) {
0 commit comments