Major UI / UX enhancements to Client Files. Files are now searchable can select between thumbnail and list view, pagination enabled, file renaming capabilities

This commit is contained in:
johnnyq
2023-08-23 15:43:47 -04:00
parent 037ae820a1
commit 0897217357
5 changed files with 261 additions and 83 deletions

View File

@@ -1260,11 +1260,19 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.3'");
}
//if (CURRENT_DATABASE_VERSION == '0.7.3') {
if (CURRENT_DATABASE_VERSION == '0.7.3') {
//Insert queries here required to update to DB version 0.7.4
mysqli_query($mysqli, "ALTER TABLE `files` ADD `file_folder_id` INT(11) NOT NULL DEFAULT 0 AFTER `file_accessed_at`");
// Then, update the database to the next sequential version
//mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.4'");
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.4'");
}
//if (CURRENT_DATABASE_VERSION == '0.7.4') {
//Insert queries here required to update to DB version 0.7.5
// Then, update the database to the next sequential version
//mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.5'");
//}
} else {