Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subSubCategory for Exhibits #181

Open
kacinash opened this issue Dec 3, 2015 · 6 comments
Open

subSubCategory for Exhibits #181

kacinash opened this issue Dec 3, 2015 · 6 comments

Comments

@kacinash
Copy link
Contributor

kacinash commented Dec 3, 2015

I may add a keyword to the Exhibits that specifies what kind of document the exhibit is.

Figure out if it is possible to add sub lists to the Document Type dropdown. Or, if that isn't possible, can the dropdown contain both "subCategory" and another specified field?

Add TWO subcategories?

<keywords scheme="original" n="subcategory">
<term>Exhibit</term>
<term>Will</term>
</keywords>
@jduss4
Copy link
Contributor

jduss4 commented Mar 27, 2019

If subsubcategory is something needed only for exhibits, I wonder if we could create a specific field? exhibitType or something like that? Would it ever be multivalued or would there only ever be one type of exhibit per document?

@jduss4
Copy link
Contributor

jduss4 commented Mar 27, 2019

Also, I don't know if you would want this type of thing to be a dropdown on the cases page, or just display on a document's specific page?

@kacinash
Copy link
Contributor Author

I think there would only ever be one type of exhibit per document. If it's not too much trouble, we can add it to the dropdown on the case page.

@jduss4
Copy link
Contributor

jduss4 commented Mar 28, 2019

Sounds good, I'll get to work on that!

@jduss4
Copy link
Contributor

jduss4 commented Mar 28, 2019

@kacinash do you know which type / subtype I should be grabbing to populate the exhibit field?

<keywords scheme="original" n="subcategory">
<term>Exhibit</term>
</keywords>

<keywords scheme="original" n="type">
<term>Civil</term>
</keywords>

<keywords scheme="original" n="subtype">
<term>Petition for Freedom</term>
</keywords>

I'm setting it up so that it will only be associated with a document if the subcategory == Exhibit

@jduss4
Copy link
Contributor

jduss4 commented Mar 28, 2019

Update:

Kaci will need to add this information to the TEI before it can be pulled. We talked about something like this (feel free to change exhibit_category to anything, really):

<keywords scheme="original" n="exhibit_category">
<term>Will</term>
</keywords>

Kaci would also like to have all the document types (and exhibit types) displaying in a single dropdown. I recommend this be a single field, rather than trying to combine fields into a dropdown. With that in mind, instead of subcategory and exhibit_type_s we should perhaps have some field like document_type_ss so that we can put all the values for each document into the same place, and then we can pull that field into the dropdown and search on the rails site.

Holding off working on this until the exhibit types are added to the TEI, but not time sensitive!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants