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

Downloading all files only takes into account last digital object field #262

Open
MichaelRBond opened this issue Feb 25, 2017 · 0 comments
Labels

Comments

@MichaelRBond
Copy link
Contributor

MichaelRBond commented Feb 25, 2017

When downloading all files, the download only takes into account last file field that it finds.

  1. $field_name should be an array of fields.
  2. should create a directory for each field name to organize files before compressing
  3. should provide a way to download ALL files or only for a specific field
    • On the files tab, if there is only one file form field, there should only be a "download" all option
    • add optional query string param "fieldName". If omitted, assume all file fields
      • if provided, omit the loop to determine field_names, just verify that we have a valid file field.
  4. to facilitate this change, a directory structure will need to be created under the temp location
    • files should be symlinked into this directory (currently it just creates the zip archive from the originals)
  5. If there is only one file (a vst majority of objects) there is no reason to display the Download all files link on the files tab. should be removed when there is only one file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant