From fc3c2abc1e4350298eeddfab8fe3ecfc2d23ef7e Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Thu, 21 Feb 2019 09:33:36 +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 8688306d7..f60e5665b 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.oneOf([PropTypes.number, PropTypes.string]),
             )
         })),
         onItemSelection: PropTypes.func,
-- 
GitLab