diff --git a/app/models/alma/item_set.rb b/app/models/alma/item_set.rb index 2fd20098..32dd9d2b 100644 --- a/app/models/alma/item_set.rb +++ b/app/models/alma/item_set.rb @@ -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