- dataservice.ts: sort parameter 'server_date-published desc' in method search (term, filterItems, start?)
This commit is contained in:
parent
1dbec01782
commit
d7cc8d74de
File diff suppressed because one or more lines are too long
|
@ -58,7 +58,7 @@ export default {
|
|||
});
|
||||
|
||||
});
|
||||
var query = "&q=" + term;
|
||||
var query ="&sort=server_date_published desc" + "&q=" + term;
|
||||
|
||||
|
||||
// $dismax->setQueryFields('title^3 abstract^2 subject^1');
|
||||
|
@ -72,6 +72,7 @@ export default {
|
|||
return res.data;//.response;//.docs;
|
||||
},
|
||||
|
||||
// for the autocomplete search
|
||||
async searchTerm(term: string): Promise<any> {
|
||||
// solr endpoint
|
||||
// const host = 'http://voyagerdemo.com/';
|
||||
|
|
Loading…
Reference in New Issue
Block a user