From f45038e61b80299677605096adade5fa6d51d7ef Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Thu, 21 Feb 2019 09:55:54 +0000
Subject: [PATCH] fixup! GH-991: make sure we order items if the order changes
 after the submissions

---
 .../static_src/src/app/src/components/GroupedListing/index.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/static_src/src/app/src/components/GroupedListing/index.js b/opentech/static_src/src/app/src/components/GroupedListing/index.js
index f60e5665b..e1e114330 100644
--- a/opentech/static_src/src/app/src/components/GroupedListing/index.js
+++ b/opentech/static_src/src/app/src/components/GroupedListing/index.js
@@ -20,7 +20,7 @@ export default class GroupedListing extends React.Component {
             key: PropTypes.string.isRequired,
             display: PropTypes.string.isRequired,
             values: PropTypes.arrayOf(
-                PropTypes.oneOf([PropTypes.number, PropTypes.string]),
+                PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
             )
         })),
         onItemSelection: PropTypes.func,
-- 
GitLab