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
- @magickal_workings = MagickalWorking.order('position ASC')
25
+ # @magickal_workings = MagickalWorking.order('position ASC')
26
+ @magickal_workings = MagickalWorking.order('start DESC')
26
27
  end
27
28
 
28
29
  def find_page
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-magickal_workings
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: