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:
parent
4b7d4cf872
commit
f47f09661f
4 changed files with 22 additions and 24 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue