forked from OpenNeo/impress
Fix closet list petpage export
I uhhh don't know why this ever worked at all lmao. Simple fix, I'd been avoiding it for a while assuming it was worse lol!
This commit is contained in:
parent
47ea796af4
commit
562cc33045
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ class ClosetHangersController < ApplicationController
|
|||
|
||||
def petpage
|
||||
# Find all closet lists, and also the hangers of the visible closet lists
|
||||
closet_lists = @user.closet_lists.select([:id, :name, :hangers_owned]).alphabetical
|
||||
closet_lists = @user.closet_lists.select([
|
||||
:id, :name, :hangers_owned, :description]).alphabetical
|
||||
if params[:filter]
|
||||
# If user specified which lists should be visible, restrict to those
|
||||
if params[:lists] && params[:lists].respond_to?(:keys)
|
||||
|
|
Loading…
Reference in a new issue