muscat
muscat copied to clipboard
Creation of Libretto Items within a Composite Volume
It was discovered that it is possible to create a Libretto item record and attach it directly as a child to a composite volume. This should probably be restricted to not allowing child records of composite volumes to be anything other than collections or single-items.
This should be easy and we could have it in 8.1.5, then amend the report to actually show them...
Or to put it another way, the child records should not be allowed to link up to composites (which was the workflow of the user)?
Actually looking into it a bit, I think both the libretto and the treatise templates lack the same restrictions that are present with notated music. For music manuscripts, the 773 offers two buttons to link up to either the collection record or a composite volume:
https://muscat.rism.info/admin/sources/new?new_record_type=source
The "Search collection" button only limits to "TEMPLATE TYPE: MUSIC MANUSCRIPT, COLLECTION PARENT RECORD" and the "Search composite" button only limits to "TEMPLATE TYPE: RECORD FOR A COMPOSITE VOLUME".
But from libretto and treatise templates, you can link to all possible records, even from a handwritten libretto to a printed music edition (https://muscat-test.rism.info/admin/sources/1001212236). I don't see the two separate buttons, and I don't see similar template limits.
So I think each of those templates needs refined buttons in the 773. Meaning:
- libretto_source:
- "Search collection" that is limited to Template type "Collection record for handwritten libretti" (this is the same as collection)
- "Search composite" that is limited to composite_volume
- theoretica_source
- "Search collection" that is limited to Template type "Collection record for handwritten treatises" (same as collection)
- "Search composite" that is limited to composite_volume
- libretto_edition_content
- "Search" that is limited to Template type "Collection record for printed libretti" (libretto_edition)
- theoretica_edition_content
- "Search" that is limited to "Collection record for printed treatises" (theoretica_edition)
I think libretto_source and theoretica_source still needs a button for "Search composite" that is limited to composite_volume? They both only link to their parents, but these templates are also used for single items and can therefore link to composite volumes (like with normal Sources).
Has:
Needs: