Skip to content

Commit

Permalink
Merge pull request #620 from nevermined-io/fix/search-query
Browse files Browse the repository at this point in the history
Fix/search query
  • Loading branch information
eruizgar91 authored Dec 15, 2023
2 parents f2dc158 + 9bdfc81 commit d9f88a0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nevermined-io/sdk",
"version": "2.0.7",
"version": "2.0.8",
"description": "Javascript SDK for connecting with Nevermined Data Platform ",
"main": "./dist/node/sdk.js",
"typings": "./dist/node/sdk.d.ts",
Expand Down
15 changes: 13 additions & 2 deletions src/nevermined/api/SearchApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,19 @@ export class SearchApi extends Instantiable {
},
},
{
match: {
'service.attributes.main.type': 'dataset',
bool: {
must_not: [
{
match: {
'service.attributes.main.type': 'subscription',
},
},
{
match: {
'service.attributes.main.type': 'service',
},
},
],
},
},
],
Expand Down

0 comments on commit d9f88a0

Please sign in to comment.