Open eddierubeiz opened 5 years ago
If you search for a blank string, the error message reads "ID cannot be empty." Tried searching for an ID instead of a title, to no avail. Note that the form does not specify what metadata we're supposed use to locate the child work.
Note to self: to fix this in the console:
child = GenericWork.find('41687h49p')
parent = GenericWork.find('d217qq75n')
parent.members << child
parent.ordered_members << child
parent.save!
Go to:
https://staging.digital.sciencehistory.org/concern/generic_works/41687h49p/edit#relationships
Under Other Works in this Work, the "Child work" autocomplete menu appears to be broken.