slice view: show only tags with '/ui' in their category
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 27 Sep 2024 09:04:32 +0000 (11:04 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 27 Sep 2024 09:04:32 +0000 (11:04 +0200)
planetlab/slices/slice.php

index e0868b7..f336462 100644 (file)
@@ -1202,7 +1202,7 @@ if ($tags_privileges) {
     {
         return array("display" => $tag['tagname'], "value" => $tag['tag_type_id']);
     }
-    $all_tags = $api->GetTagTypes(array("category" => "*slice*", "-SORT" => "+tagname"), array("tagname", "tag_type_id"));
+    $all_tags = $api->GetTagTypes(array("category" => "*slice*/ui*", "-SORT" => "+tagname"), array("tagname", "tag_type_id"));
     if ($profiling) {
         plc_debug_prof('16: tagtypes', count($all_tags));
     }