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

- test patch
- review

User interface changes

Formatting only - select list of views to embed is sorted by view title.

API changes

None

CommentFileSizeAuthor
#1 2537946-01.patch575 bytesrobertwb

Comments

robertwb’s picture

Issue summary: View changes
StatusFileSize
new575 bytes
jibran’s picture

Status: Active » Closed (duplicate)

Already commit and pushed in #2537814: Sort the list of views