Handle collection in batchaddmedia command
Reported by: |
simenheg |
Owned by: |
|
Priority:
|
minor
|
Milestone:
|
|
Component:
|
programming
|
Keywords:
|
|
Cc:
|
simenheg@…
|
Parent Tickets:
|
|
The attached patch makes the batchaddmedia command look for a 'collection-slug' column, that for each row may specify the slug of a collection that the media should be added to. This matches the '--collection-slug' argument of the addmedia command.
Change History
(5)
Cc: |
simenheg@… added; simenheg removed
|
Owner: |
simenheg removed
|
Resolution: |
→ fixed
|
Status: |
accepted → closed
|
Thanks for the patch, simenheg. Seems like a useful feature since we've added this for
addmedia
in a3c4802, as you mentioned.I have one comment/request regarding the patch. It looks like there are some unrelated changes in the patch you provided. Can you remove those and submit a patch that only contains the changes related to adding media to a collection via the
batchaddmedia
command? If you found obsolete code that no longer does anything, I'd prefer to create a separate ticket for that. Thanks.