4 Commits

9 changed files with 27 additions and 2 deletions

View File

@@ -213,3 +213,8 @@ Changelog
writeup was added to the group instead of in the logical writeup writeup was added to the group instead of in the logical writeup
order. order.
1.4.7 - 2026-03-03
- Fixed bug reported as Issue 1 where clicking the Show Printable
button on the search results page resulted in the results not
being shown on the printable page.

1
VERSION.txt Normal file
View File

@@ -0,0 +1 @@
1.4.7

View File

@@ -69,7 +69,7 @@ CREATE TABLE `config` (
LOCK TABLES `config` WRITE; LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */; /*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES INSERT INTO `config` VALUES
(1,'drs_version','1.4.6','1.4.6'), (1,'drs_version','1.4.7','1.4.7'),
(5,'app_name','OpenDRS - Discrepancy Reporting System','OpenDRS Discrepancy Reporting System'), (5,'app_name','OpenDRS - Discrepancy Reporting System','OpenDRS Discrepancy Reporting System'),
(6,'banner','1','1'), (6,'banner','1','1'),
(7,'background_color','0B3144','0B3144'), (7,'background_color','0B3144','0B3144'),

4
database-update.sh Normal file → Executable file
View File

@@ -33,3 +33,7 @@ margs="--defaults-extra-file=$mysql_opt_file"
# ---------- version 1.4.6 ---------- # ---------- version 1.4.6 ----------
# Nothing to be done # Nothing to be done
# ----------------------------------- # -----------------------------------
# ---------- version 1.4.7 ----------
# Nothing to be done
# -----------------------------------

View File

@@ -281,3 +281,7 @@ UPDATE config SET value="1.4.5",defaultvalue="1.4.5" WHERE name="drs_version";
UPDATE config SET value="1.4.6",defaultvalue="1.4.6" WHERE name="drs_version"; UPDATE config SET value="1.4.6",defaultvalue="1.4.6" WHERE name="drs_version";
-- -------------------------------------- -- --------------------------------------
-- ---------- version 1.4.7 -------------
-- Update version number
UPDATE config SET value="1.4.7",defaultvalue="1.4.7" WHERE name="drs_version";
-- --------------------------------------

View File

@@ -212,3 +212,9 @@ Changelog
caused the group writeup table to be ordered based on when the caused the group writeup table to be ordered based on when the
writeup was added to the group instead of in the logical writeup writeup was added to the group instead of in the logical writeup
order. order.
1.4.7 - 2026-03-03
- Fixed bug reported as Issue 1 where clicking the Show Printable
button on the search results page resulted in the results not
being shown on the printable page.

View File

@@ -105,6 +105,7 @@ extract($incoming, EXTR_SKIP);
if (!isset($search)) $search=false; if (!isset($search)) $search=false;
if (!isset($viewtype)) $viewtype="summary"; if (!isset($viewtype)) $viewtype="summary";
if (!isset($s_id)) $s_id=NULL; if (!isset($s_id)) $s_id=NULL;
if (!isset($s_group)) $s_group=[];
if (!isset($s_discrepancy_text)) $s_discrepancy_text=NULL; if (!isset($s_discrepancy_text)) $s_discrepancy_text=NULL;
if (!isset($s_reported_by)) $s_reported_by=NULL; if (!isset($s_reported_by)) $s_reported_by=NULL;
if (!isset($s_action_text)) $s_action_text=NULL; if (!isset($s_action_text)) $s_action_text=NULL;

4
files-update.sh Normal file → Executable file
View File

@@ -79,3 +79,7 @@ fi
# ---------- version 1.4.6 ------------- # ---------- version 1.4.6 -------------
# Nothing to do for this version # Nothing to do for this version
# -------------------------------------- # --------------------------------------
# ---------- version 1.4.7 -------------
# Nothing to do for this version
# --------------------------------------

2
install.sh Normal file → Executable file
View File

@@ -8,7 +8,7 @@
APP_NAME="OpenDRS" APP_NAME="OpenDRS"
DEFAULT_DB_NAME="opendrs" DEFAULT_DB_NAME="opendrs"
APP_VERSION="1.4.6" APP_VERSION="1.4.7"
DOC_ROOT="/var/www" DOC_ROOT="/var/www"
INSTALL_LOC="opendrs" INSTALL_LOC="opendrs"
APACHE_CONF_DIR="/etc/apache2/conf-available" APACHE_CONF_DIR="/etc/apache2/conf-available"