Fix issues with Vectors Chooser
After upgrading to Wagtail 2.13, the vectors application requires a set of changes in order to function properly.
-
Collections
API no longer includes aorder_for_display
method. All methods calls inviews/vector_chooser.py
need to removed. -
The vector application does not include an "Upload" button. One needs to be added so that the functionality is equivalent to the images and documents apps. -
When attempting to add a vector from within a page, it is not possible to switch to the "Upload" tab. (Clicking on the tab doesn't do anything.) -
Fix the layout of the "Collections" control in the upload panel