diff --git a/admin/tag.php b/admin/tag.php index fe2171fd..773a9db6 100644 --- a/admin/tag.php +++ b/admin/tag.php @@ -6,10 +6,17 @@ $order = "ASC"; require_once "includes/inc_all_admin.php"; +if (isset($_GET['type'])) { + $type_filter = intval($_GET['type']); +} else { + $type_filter = 1; +} + $sql = mysqli_query( $mysqli, "SELECT SQL_CALC_FOUND_ROWS * FROM tags WHERE tag_name LIKE '%$q%' + AND tag_type = $type_filter ORDER BY $sort $order LIMIT $record_from, $record_to" ); @@ -21,7 +28,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));

Tags

- +
@@ -38,6 +45,45 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
+
+ Client + Location + Contact + Credential + Asset + Archived +