Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into patch-9
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-sava authored Nov 12, 2020
2 parents 1b22408 + 3a6f3ad commit b485adf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/asset-catalog/asset-search-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ class AssetSearchView extends mixinBehaviors([AppLocalizeBehavior], PolymerEleme
this.$.combo.selectedItems.forEach(function (item) {
types.push(item.name);
});

this.$.tokenAjax.url = '/api/assets/search?q=' + this.q + '&types=' + types;
this.$.tokenAjax.url = '/api/assets/search?q=' + this.q.trim() + '&types=' + types;
if( this.from > 0 )
this.$.tokenAjax.url +='&from=' + this.from;
if( this.pageSize > 0 )
Expand Down

0 comments on commit b485adf

Please sign in to comment.