|
|
@@ -172,16 +172,8 @@ class BoltService {
|
|
|
for (let i = 1; i < args.length; i++) {
|
|
|
arr.push(args[i]);
|
|
|
}
|
|
|
- console.log('arr', arr);
|
|
|
- // removing 'search' from the head in the array.
|
|
|
- // const shiftedValue = args.shift();
|
|
|
- // const keywords = args.join(' ');
|
|
|
- const keywords = arr.join(' ');
|
|
|
- console.log('keywords', keywords);
|
|
|
- console.log('args', args);
|
|
|
|
|
|
- // adding 'search' to the head in the array again.
|
|
|
- // args.unshift(shiftedValue);
|
|
|
+ const keywords = arr.join(' ');
|
|
|
|
|
|
const { searchService } = this.crowi;
|
|
|
const options = { limit: 10, offset };
|