more ui_next search pr feedback:

- updae .filter().length calls to .find()
- fix ProjectList errors
This commit is contained in:
John Mitchell
2020-01-09 13:55:19 -05:00
parent 3cdf274bdb
commit 1e344bdf8a
37 changed files with 330 additions and 417 deletions
+6 -4
View File
@@ -122,10 +122,12 @@ describe('qs (qs.js)', () => {
});
test('should set order_by in defaultParams if it is not passed', () => {
expect(getQSConfig('organization', {
page: 1,
page_size: 5,
})).toEqual({
expect(
getQSConfig('organization', {
page: 1,
page_size: 5,
})
).toEqual({
namespace: 'organization',
defaultParams: { page: 1, page_size: 5, order_by: 'name' },
integerFields: ['page', 'page_size'],