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
2 changes: 1 addition & 1 deletion app/models/alma/item_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def prepend_note_to_set(env, id, note, num, email)
def fetch_item_sets(source)
# We can only fetch 100 item sets at a time so we
# have to loop through the API to get all of them
sets = []
sets = [['', '']]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should we move this line to just under the method and add a comment about why it's initializing an Array containing an Array with 2 empty strings as its elements?

offset = 0

loop do
Expand Down