2820 Added scope days on item request section + test #556

Merged
carlosjr merged 4 commits from 2820-add_item_scopeDays into dev 2021-02-25 11:28:30 +00:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit e32914d990 - Show all commits

View File

@ -1,7 +1,7 @@
import selectors from '../../helpers/selectors.js';
import getBrowser from '../../helpers/puppeteer';
describe('Item request path', () => {
fdescribe('Item request path', () => {
let browser;
let page;
beforeAll(async() => {

View File

@ -11,6 +11,7 @@
<vn-searchbar
panel="vn-request-search-panel"
info="Search request by id or alias"
suggested-filter="$ctrl.filterParams"
filter="$ctrl.filterParams"
fetch-params="$ctrl.fetchParams($params)"
model="model"

View File

@ -15,9 +15,8 @@ export default class Controller extends Section {
nextWeek.setDate(nextWeek.getDate() + 7);
this.filterParams = {
mine: true,
to: today,
from: nextWeek,
from: today,
to: nextWeek,
state: 'pending'
};
}