Преглед на файлове

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