mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 15:58:38 -05:00
more ui_next search pr feedback:
- updae .filter().length calls to .find() - fix ProjectList errors
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user