瀏覽代碼

Fixed typo in chado storage

Stephen Ficklin 7 年之前
父節點
當前提交
792f386cc8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tripal_chado/includes/tripal_chado.field_storage.inc

+ 2 - 2
tripal_chado/includes/tripal_chado.field_storage.inc

@@ -555,8 +555,8 @@ function tripal_chado_field_storage_query($query) {
   // Now set any ordering.
   foreach ($query->order as $index => $sort) {
     // Add in property ordering.
-    if ($order['type'] == 'property') {
-
+    if ($sort['type'] == 'property') {
+       // TODO: support ordering by bundle properties.
     }
     // Add in filter ordering
     if ($sort['type'] == 'field') {