From 13aef49ebbfd00c73b39286d13323bd777108ff1 Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Mon, 30 Jan 2017 19:05:16 -0600 Subject: [PATCH] Respect custom sort_order column value Adds support to the ReorderController behavior for custom `sort_order` column names. --- .../behaviors/reordercontroller/partials/_records.htm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/backend/behaviors/reordercontroller/partials/_records.htm b/modules/backend/behaviors/reordercontroller/partials/_records.htm index a1cdf4fd7..dc46b2019 100644 --- a/modules/backend/behaviors/reordercontroller/partials/_records.htm +++ b/modules/backend/behaviors/reordercontroller/partials/_records.htm @@ -1,6 +1,10 @@ -
  • +
  • + data-record-sort-order="{$record->getSortOrderColumn()} ?>" + + >
    reorderGetRecordName($record) ?> @@ -16,4 +20,4 @@
  • - \ No newline at end of file +