Переглянути джерело

457-fix-broken-tripal-content

see #457 .  This line looks for a nonexistent column in tripal_entity.
Bradford Condon 6 роки тому
батько
коміт
40a5de4e32
1 змінених файлів з 2 додано та 2 видалено
  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;
 
- }
+ }