mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 20:08:19 +00:00
Feature/filters in search dialog (#7681)
* search results filters * hide filters for seasearch * optimize * filter by suffix * fix dropdown menu z-index * update ui * optimise css --------- Co-authored-by: zhouwenxuan <aries@Mac.local> Co-authored-by: Michael An <1822852997@qq.com>
This commit is contained in:
@@ -815,13 +815,19 @@ class SeafileAPI {
|
||||
return source;
|
||||
}
|
||||
|
||||
searchFilesInPublishedRepo(repoID, q, page, perPage) {
|
||||
getSearchInfo() {
|
||||
const url = this.server + '/api2/search-info/';
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
searchFilesInPublishedRepo(repoID, q, page, perPage, searchFilenameOnly) {
|
||||
const url = this.server + '/api/v2.1/published-repo-search/';
|
||||
let params = {
|
||||
repo_id: repoID,
|
||||
q: q,
|
||||
page: page,
|
||||
per_page: perPage
|
||||
per_page: perPage,
|
||||
search_filename_only: searchFilenameOnly || false,
|
||||
};
|
||||
return this.req.get(url, { params: params });
|
||||
}
|
||||
|
Reference in New Issue
Block a user