Browse Source

Merge pull request #458 from tripal/457-fix-broken-tripal-content

457-fix-broken-tripal-content
Stephen Ficklin 6 years ago
parent
commit
589a612bdb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tripal/includes/TripalEntityUIController.inc

+ 2 - 2
tripal/includes/TripalEntityUIController.inc

@@ -316,7 +316,7 @@ function tripal_view_entity($entity, $view_mode = 'full') {
        $query->propertyCondition('status', 0);
      }
    }
-   $query->propertyOrderBy('label', 'ASC');
+   //$query->propertyOrderBy('created', 'DESC');
 
    // Find out the total number of records and determine what page we're on, and
    // initialize the pager.
@@ -797,4 +797,4 @@ function tripal_entity_form_ajax_callback($form, $form_state) {
    }
    return FALSE;
 
- }
+ }