Project

General

Profile

Defect #31287 » patch2.diff

hyper loop, 2019-05-01 22:14

View differences:

app/models/wiki.rb
20 20
class Wiki < ActiveRecord::Base
21 21
  include Redmine::SafeAttributes
22 22
  belongs_to :project
23
  has_many :pages, lambda {order('title')}, :class_name => 'WikiPage', :dependent => :destroy
23
  has_many :pages, lambda {order('lower(title)')}, :class_name => 'WikiPage', :dependent => :destroy
24 24
  has_many :redirects, :class_name => 'WikiRedirect'
25 25

  
26 26
  acts_as_watchable
(3-3/5)