From d2e335c7c51c5d25ae5bf468fdb4bb13274c2526 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 13 Sep 2019 15:17:59 -0400 Subject: [PATCH] revert restriction on defaultParams --- awx/ui_next/src/util/qs.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/awx/ui_next/src/util/qs.js b/awx/ui_next/src/util/qs.js index 8aaa00c29a..d10585aa99 100644 --- a/awx/ui_next/src/util/qs.js +++ b/awx/ui_next/src/util/qs.js @@ -166,14 +166,6 @@ export function getQSConfig( ) { if (!namespace) { throw new Error('a QS namespace is required'); - } else if ( - Object.keys(defaultParams).filter( - key => key !== 'page' && key !== 'page_size' && key !== 'order_by' - ).length > 0 - ) { - throw new Error( - 'Only page, page_size, and order_by allowed as default params for QS.' - ); } return { namespace,