1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Improve search by tag for MySQL

Fixes #214

MySQL requires specific full text search queries.
This commit is contained in:
Harvey Kandola 2019-02-28 13:39:53 +00:00
parent 4b7d4cf872
commit f47f09661f
4 changed files with 22 additions and 24 deletions

View file

@ -29,23 +29,8 @@ export default Component.extend({
this.set('keywords', this.get('filter'));
this.set('matchFilter', this.get('matchFilter'));
this.fetch();
console.log('receive a');
},
didReceiveAttrs() {
this._super(...arguments);
// this.set('keywords', this.get('filter'));
this.set('matchFilter', this.get('matchFilter'));
this.fetch();
console.log('update a');
},
// didUpdateAttrs() {
// this._super(...arguments);
// this.fetch();
// console.log('update a');
// },
fetch() {
let payload = {
keywords: this.get('keywords'),