Added Bulk Delete Asset Functionality and also deleted more asset reference tables as we are not using cascade delete yet

This commit is contained in:
johnnyq
2025-03-10 17:35:16 -04:00
parent 164a6a5604
commit 82c7a64a25
2 changed files with 70 additions and 3 deletions

View File

@@ -298,6 +298,11 @@ if (mysqli_num_rows($os_sql) > 0) {
type="submit" form="bulkActions" name="bulk_unarchive_assets">
<i class="fas fa-fw fa-redo mr-2"></i>Unarchive
</button>
<div class="dropdown-divider"></div>
<button class="dropdown-item text-danger text-bold"
type="submit" form="bulkActions" name="bulk_delete_assets">
<i class="fas fa-fw fa-trash mr-2"></i>Delete
</button>
<?php } else { ?>
<div class="dropdown-divider"></div>
<button class="dropdown-item text-danger confirm-link"