Problem/Motivation
When adding a View with this module, the list of Views to select from is un-sorted. When the list of views become large it becomes difficult to locate the desired view. I believe that usability is enhanced greatly by simply sorting these by name.
Proposed Resolution
The function "views_get_views_as_options", which is used to retrieve the list of views, already supports sorting, so the attached one line patch simply adds the extra parameters to this function call to return the sorted list.
Remaining tasks
- review
User interface changes
Formatting only - select list of views to embed is sorted by view title.
API changes
None
Comments
Comment #1
robertwb commentedComment #2
robertwb commentedComment #3
robertwb commentedComment #4
dawehnerThank you, small steps towards a great experience are great!
Comment #6
jibranCan we please patch 8.x as well?
Comment #7
robertwb commentedSeems like a good idea to path d8, but I think maybe a separate issue should be made?
Comment #8
robertwb commentedCreated separate issue for d8. Patch on the way.
Comment #10
jibranCommitted ea5acc5 to 8.x-1.x
Thanks for the patch.