File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/services/search/dissolved-search Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,19 @@ export default class DissolvedSearchService {
1111 }
1212 const ALPHABETICAL_QUERY = "&search_type=alphabetical" ;
1313 const BEST_MATCH_QUERY = "&search_type=best-match" ;
14+ const PREVIOUSNAME_QUERY = "&search_type=previous-name-dissolved" ;
1415
1516 let dissolvedSearchURL = "/dissolved-search/companies?q=" + companyName ;
1617
1718 if ( searchType === "alphabetical" ) {
1819 dissolvedSearchURL += ALPHABETICAL_QUERY ;
19- } else {
20+ }
21+ if ( searchType === "previousName" ) {
22+ dissolvedSearchURL += PREVIOUSNAME_QUERY ;
23+ }
24+ if ( searchType === "best-match" ) {
2025 dissolvedSearchURL += BEST_MATCH_QUERY ;
21- } ;
26+ }
2227
2328 const resp = await this . client . httpGet ( dissolvedSearchURL , additionalHeaders ) ;
2429
You can’t perform that action at this time.
0 commit comments