mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
upgraded Ember and Bootstrap, merged changes
This commit is contained in:
parent
b4fd42da38
commit
5dd7d9c181
114 changed files with 9814 additions and 1361 deletions
|
@ -17,32 +17,35 @@ export default Controller.extend({
|
|||
searchService: service('search'),
|
||||
queryParams: ['filter', 'matchDoc', 'matchContent', 'matchTag', 'matchFile'],
|
||||
filter: '',
|
||||
results: [],
|
||||
matchDoc: true,
|
||||
matchContent: true,
|
||||
matchFile: false,
|
||||
matchTag: false,
|
||||
|
||||
onKeywordChange: function () {
|
||||
debounce(this, this.fetch, 750);
|
||||
}.observes('filter'),
|
||||
|
||||
matchDoc: true,
|
||||
onMatchDoc: function () {
|
||||
debounce(this, this.fetch, 750);
|
||||
}.observes('matchDoc'),
|
||||
|
||||
matchContent: true,
|
||||
onMatchContent: function () {
|
||||
debounce(this, this.fetch, 750);
|
||||
}.observes('matchContent'),
|
||||
|
||||
matchTag: false,
|
||||
onMatchTag: function () {
|
||||
debounce(this, this.fetch, 750);
|
||||
}.observes('matchTag'),
|
||||
|
||||
matchFile: false,
|
||||
onMatchFile: function () {
|
||||
debounce(this, this.fetch, 750);
|
||||
}.observes('matchFile'),
|
||||
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
this.results = [];
|
||||
},
|
||||
|
||||
fetch() {
|
||||
let self = this;
|
||||
let payload = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue