fixed bug in create leavemessage from bids
This commit is contained in:
parent
e577e1713f
commit
e8a313be6c
|
@ -501,7 +501,7 @@ class BidsController < ApplicationController
|
|||
@bid.add_jour(User.current, message, refer_user_id)
|
||||
end
|
||||
@user = @bid.author
|
||||
@jours = @bid.journals_for_messages.reverse
|
||||
@jours = @bid.journals_for_messages.where('m_parent_id IS NULL').order('created_on DESC')
|
||||
@limit = 10
|
||||
@feedback_count = @jours.count
|
||||
@feedback_pages = Paginator.new @feedback_count, @limit, params['page']
|
||||
|
|
Loading…
Reference in New Issue