Open ljbellis opened 9 years ago
I just put a reference to https://github.com/chembl/curation-interface/issues/125 as a note to myself to remember that those to should be fixed together.
And this one: https://github.com/chembl/curation-interface/issues/127
There is no such record as 'Unpublished data set' in the Source table. 'Unpublished data set' is just a title of a Document record with doc_id = (-1). So there is no sensible special Source id I could assign in this case. Because this is a data issue I'm leaving this for Anna.
We could always leave the Source blank then. At the moment it is setting AZ as the default unless you choose something else, and you're not allowed to type over this.
I think due to database constrains you can't create compound record with no source but I'll check that.
When in a compound window and choosing + for a new record, you click on Find Document and choose DEFAULT.
This populates the Document ID with a -1 but still allows you to choose a source.
You shouldn't be able to choose the source. It should be automatically set to 'Unpublished dataset' as in the DB.
Can this be changed please?