Skip to content

Commit

Permalink
Search update and updated www
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratikshakhandagale committed May 31, 2024
1 parent 4a46d76 commit 223d56c
Show file tree
Hide file tree
Showing 48 changed files with 136 additions and 127 deletions.
17 changes: 13 additions & 4 deletions src/app/services/search.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class SearchService {
}
} else {
request = {
"text": data.text,
"name": data.text,
"language": data.currentLang
}
}
Expand All @@ -48,10 +48,19 @@ export class SearchService {
}

postContentSearch(data: any, lang: any): Promise<any> {
let req = {
category: data.category,
language: lang
let req : any= {};
if(data['name'])
{
req['name'] = data?.name;
}

if(data['category'])
{
req['category'] = data?.category;
}

req['language'] = lang;

const apiRequest = new ApiRequest.Builder()
.withHost(config.api.BASE_URL)
.withPath(config.api.CONTENT_SEARCH_API)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions www/1227.62126f61607726d4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion www/1227.caeaa0e1fff748b5.js

This file was deleted.

1 change: 1 addition & 0 deletions www/1577.e38109e3217876c6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion www/1577.f78a0447c8f41a1b.js

This file was deleted.

Large diffs are not rendered by default.

Loading

0 comments on commit 223d56c

Please sign in to comment.