Only showing 'admin searchable' for glm-member-db fields
authorLaury GvR <laury@gaslightmedia.com>
Thu, 9 Nov 2017 22:03:54 +0000 (17:03 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 9 Nov 2017 22:03:54 +0000 (17:03 -0500)
views/admin/management/fields.html

index 8b63288..fdd0d80 100644 (file)
@@ -23,6 +23,8 @@
                     </select>
                 </td>
             </tr>
+            <!-- The UID check below is just a TEMPORARY measure until we have search filters implemented on plugins beyond glm-member-db -->
+            {if $uid == 'glm-member-db'}
             <tr>
                 <th>Admin Searchable</th>
                 <td>
@@ -31,6 +33,7 @@
                     (text or checkbox only)
                 </td>
             </tr>
+            {/if}
             <tr>
             <th>Required?</th>
                 <td>
@@ -79,6 +82,8 @@
                     </select>
                 </td>
             </tr>
+            <!-- The UID check below is just a TEMPORARY measure until we have search filters implemented on plugins beyond glm-member-db -->
+            {if $uid == 'glm-member-db'}
             <tr>
                 <th>Admin Searchable</th>
                 <td>
@@ -87,6 +92,7 @@
                     (text or checkbox only)
                 </td>
             </tr>
+            {/if}
             <tr>
                 <th>Required?</th>
                 <td>
             <th>Type</th>
             <th>UID/Entity</th>
             <th>Required</th>
-            <th>Admin Searchable</th>
+            <!-- The UID check below is just a TEMPORARY measure until we have search filters implemented on plugins beyond glm-member-db -->
+            {if $uid == 'glm-member-db'}<th>Admin Searchable</th>{/if}
             <th>&nbsp;</th>
         </tr>
     </thead>