Skip to content

Commit

Permalink
fixing my dumb bug
Browse files Browse the repository at this point in the history
  • Loading branch information
femalves committed Apr 24, 2024
1 parent 9137159 commit d5fefa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions biblib/views/library_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ def solr_update_library(cls, library_id, solr_docs, session):
else:
new_library_bibcodes[bibcode] = library.bibcode[bibcode]

if updated_timestamp:
cls.update_library(session, library)
if updates['update_list']:
library.bibcode = new_library_bibcodes
cls.update_library(session, library)
updates['updated_notes'] = cls.update_notes(session, library, updates['update_list'])
elif updated_timestamp:
cls.update_library(session, library)

return updates

Expand Down

0 comments on commit d5fefa4

Please sign in to comment.