From a406d12e4184d7f3cd46944dbb76974f5ed509d8 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Mon, 29 Jan 2018 08:48:03 +1000 Subject: [PATCH] Fix data_order for nmis exporrt. Add an opmantek details SVG for menu display. --- .../application/helpers/output_helper.php | 3 + www/open-audit/icons/opmantek_details.svg | 160 ++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 www/open-audit/icons/opmantek_details.svg diff --git a/code_igniter/application/helpers/output_helper.php b/code_igniter/application/helpers/output_helper.php index 3bb255ee6..a1a10baca 100644 --- a/code_igniter/application/helpers/output_helper.php +++ b/code_igniter/application/helpers/output_helper.php @@ -84,6 +84,9 @@ function output() # Do nothing } else if ($CI->response->meta->collection == 'nmis') { # Do nothing + if (empty($CI->response->meta->data_order)) { + $CI->response->meta->data_order = array(); + } } else { if (!empty($CI->response->data)) { diff --git a/www/open-audit/icons/opmantek_details.svg b/www/open-audit/icons/opmantek_details.svg new file mode 100644 index 000000000..468b9ab7c --- /dev/null +++ b/www/open-audit/icons/opmantek_details.svg @@ -0,0 +1,160 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +