refinerycms-magickal_workings 1.0 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,9 @@ module Refinery
|
|
4
4
|
class MagickalWorkingsController < ::Refinery::AdminController
|
5
5
|
|
6
6
|
crudify :'refinery/magickal_working/magickal_working',
|
7
|
-
:title_attribute => 'opus', :xhr_paging => true
|
7
|
+
:title_attribute => 'opus', :xhr_paging => true,
|
8
|
+
:order => "start DESC",
|
9
|
+
:sortable => true
|
8
10
|
|
9
11
|
end
|
10
12
|
end
|
@@ -22,7 +22,8 @@ module Refinery
|
|
22
22
|
protected
|
23
23
|
|
24
24
|
def find_all_magickal_workings
|
25
|
-
|
25
|
+
# @magickal_workings = MagickalWorking.order('position ASC')
|
26
|
+
@magickal_workings = MagickalWorking.order('start DESC')
|
26
27
|
end
|
27
28
|
|
28
29
|
def find_page
|