Prechádzať zdrojové kódy

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

457-fix-broken-tripal-content
Stephen Ficklin 6 rokov pred
rodič
commit
589a612bdb

+ 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;
 
- }
+ }