-
Notifications
You must be signed in to change notification settings - Fork 495
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
Dataset page: pre-populate "Depositor" and "Deposit Date" #259
Comments
Original Redmine Comment Assigning to Eleni so we discuss what we want to do with depositor fields (keep as fields or get from creator data) |
Original Redmine Comment Discussed with Eleni: We do need depositor and deposit date as a metadata field because it is editable. We should pre populate, however, first with the template value (like all fields), but if that is empty with the user's name / current date. Eleni will add to the TSV file and then pass to Stephen to handle the prepopulate. |
Original Redmine Comment Depositor and Deposit date are on the general.tsv in github so ready for Steve to work on. |
Original Redmine Comment Added to Create Dataset Command |
Original Redmine Comment Based on Thursday's discussions I am now pre-populating Author Name (Last, First), Author affiliation, Email Contact, Depositor - all based on logged in user and deposit date. I changed show on create for Depositor/Date to true for now pending additional logic to display pre-populated fields on create. |
Original Redmine Comment Added logic to metadatafragment so that if a datasetfield is not empty it will be displayed on create. (However this will only work if at least one dataset field type within the metadata block is "display on Create". Given the current way that blocks are shown on create, that is a block is shown only if at least one of its datasetfieldtypes is display on create, additional logic needed. |
Original Redmine Comment This is working in the page. To see it for now run the following update: update datasetfieldtype |
Original Redmine Comment Tested on 4/25 The auto generate, prepopulate stuff works. Not sure about show on create. It does not currently show on create and I see the sample script I am to run to see it but that is not the same as it working. So, this last part may or may not be completed, depending on what is required. May need to open a separate ticket to track that piece. |
Original Redmine Comment Closing ticket |
Author Name: Philip Durbin (@pdurbin)
Original Redmine Issue: 3673, https://redmine.hmdc.harvard.edu/issues/3673
Original Date: 2014-03-10
Original Assignee: Kevin Condon
Pre-populate "Depositor" and "Deposit Date" but make sure they are still editable.
The text was updated successfully, but these errors were encountered: