Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Special report form #197

Merged
merged 16 commits into from
Apr 13, 2015
Merged

Special report form #197

merged 16 commits into from
Apr 13, 2015

Conversation

weiweishi
Copy link
Contributor

As part of #30 and #130. Related pull request #143, #156.

  • Added to batch_controller_behavior and file_controller_behavior to handle special report ids.
    • deposited items will be added to the corresponding collections. It assumes the collections have already created in the system. Please add the collection ids to the config/initializer/sufia.rb.
  • Added presenters and forms for special reports
  • Added selection of special reports on the upload form

These collections are initialized in seed.rb.
Also added/changed the creation of existing data to avoid duplication if rerun rake db:seed.

Please restart httpd after rake db:seed, as it writes the collection ids to config/initializers/sufia.rb, and will need a restart to make the modification in effect.

@weiweishi weiweishi force-pushed the special-report-form branch from 88206e9 to 71a0fb4 Compare April 13, 2015 17:45
pbinkley added a commit that referenced this pull request Apr 13, 2015
@pbinkley pbinkley merged commit 0e6b9b1 into master Apr 13, 2015
@pbinkley pbinkley deleted the special-report-form branch April 13, 2015 21:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants