Added Tag Type to allow expansion of tagging support for other entities in the future

This commit is contained in:
johnnyq
2021-12-27 12:06:37 -05:00
parent d23d455cd9
commit 484d4fff82
7 changed files with 40 additions and 5 deletions

View File

@@ -256,7 +256,7 @@
<ul class="list-group">
<?php
$sql_tags_select = mysqli_query($mysqli,"SELECT * FROM tags WHERE company_id = $session_company_id ORDER BY tag_name ASC");
$sql_tags_select = mysqli_query($mysqli,"SELECT * FROM tags WHERE tag_type = 1 AND company_id = $session_company_id ORDER BY tag_name ASC");
while($row = mysqli_fetch_array($sql_tags_select)){
$tag_id_select = $row['tag_id'];