Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/models/alma/item_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ def prepend_note_to_set(env, id, note, num, email)

# rubocop:disable Metrics/AbcSize, Metrics/MethodLength
def fetch_item_sets(source)
# Start with empty entry, so the dropdowns start with no selected set.
sets = [['', '']]

# We can only fetch 100 item sets at a time so we
# have to loop through the API to get all of them
sets = []
offset = 0

loop do
Expand Down