Add the admin search label and output
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Jul 2018 20:41:38 +0000 (16:41 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Jul 2018 20:41:38 +0000 (16:41 -0400)
For editing with admin search

views/admin/management/fields.html

index f4e5a44..13a6e2e 100644 (file)
@@ -23,8 +23,6 @@
                     </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>
@@ -33,7 +31,6 @@
                     (text or checkbox only)
                 </td>
             </tr>
-            {/if}
             <tr>
             <th>Required?</th>
                 <td>
             <th>Type</th>
             <th>UID/Entity</th>
             <th>Required</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>Admin Searchable</th>
             <th>&nbsp;</th>
         </tr>
     </thead>
@@ -219,11 +215,11 @@ jQuery(document).ready(function($) {
         var required    = $(this).attr('data-required');
 
         //console.log( fieldType );
-        
+
         $('#editFieldID').val(fieldID);
         $('#editFieldName').val(fieldName.trim());
         $('#editFieldType').val(fieldType);
-        
+
         if (adminSearch === '1') {
             //console.log('setting the checked to true');
             $('#editAdminSearch').prop('checked', true);