Respect already selected collection when adding new documents or images
See original GitHub issueIs your proposal related to a problem?
Documents and Images list views allows filtering by Collection. Choosing a collection and clicking on “Add a document” opens a new view, where first (Root) collection is selected. This causes confusion to some users and makes them make mistakes where the document would be uploaded.
Describe the solution you’d like
It would be great if a button to add new documents would transfer currently selected collection id as parameter to multiple add view. This way current user would upload files to already choosen collection, which looks like right thing to do, especially if there are more then few collections.
Describe alternatives you’ve considered
Did not found any other alternative for this.
Additional context
This should be pretty easy to implement, in few steps:
- AddView would accept optional query parameter
collection_id
and pass it to template, which would select current collection. - document index template already has
current_collection
, so the only change required here would be to pass it towagtaildocs:add_multiple
url - change in second step would be made in image index template
If there are no objections for this, I can prepare pull request.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Solved: Append items "photos" to an existing collection
Now I need to get back to my gallery select the next item and repeat the process. I would like that the new...
Read more >Collections — MongoDB Compass
Open the collection in a new tab. Select a collection. click to enlarge. After you select a collection, Compass shows you that collection's...
Read more >How to display multiple images selected from gallery in ...
Create an array of UIImage as var imageArray :[UIImage] = () 2. add selected images in imageArray. 3. Save image from imageArray in...
Read more >Midjourney Documentation: Quick Start Guide
You can also find more detail on the official Midjourney Discord server in the #rules , #faq , #announcements , and #status channels....
Read more >How to add photos to an existing collection
the Collection shows a small [+] to indicate it is the Target Collection. ScreenShot065.jpg. Now- Select ONE or MANY images in the library...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m working on it
Update
@bmihelac - Are you still keen on pursuing this fix you started but with the new approach? https://github.com/wagtail/wagtail/pull/7756