Skip to content
Snippets Groups Projects
Commit bc98740f authored by alexisben's avatar alexisben
Browse files

query

parents 4a97e2c1 c23811d7
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json)
v-model="query"
class="form-control">
</div>
<div class="col-lg-3">
<div class="col-lg-3 d-grid">
<button type="button"
class="btn btn-primary"
v-on:click="research"
......@@ -154,7 +154,13 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json)
}
}.bind(this);
xmlHttp.open( "GET", this.parameters.url + '?query=' + this.query + '&per_page=' + this.parameters.per_page + '&page=' + this.page + '&lang=' + this.parameters.lang, false );
xmlHttp.open( "GET",
this.parameters.url
+ '?query=' + this.query
+ '&per_page=' + this.parameters.per_page
+ '&page=' + this.page
+ '&lang=' + this.parameters.lang,
false );
xmlHttp.send( null );
},
select(image) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment