Skip to content

Commit

Permalink
fix next_reservation
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Jan 18, 2025
1 parent 08407c5 commit 560a37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/enju_circulation/enju_manifestation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module EnjuManifestation
end

def next_reservation
reserves.waiting.order('reserves.created_at ASC').readonly(false).first
reserves.waiting.not_in_state(:retained).order('reserves.created_at ASC').readonly(false).first
end

def available_checkout_types(user)
Expand Down

0 comments on commit 560a37b

Please sign in to comment.