Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jun 2015 at 10:14 UTC
Updated:
14 Sep 2015 at 11:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sasanikolic commentedComment #2
arla commentedComment #3
arla commentedThis happens when the sort is exposed, and the field plugin is date.
Let's see if there's a related Views test where we can add an exposed date sort.
Comment #4
sasanikolic commentedI've tried adding date sorting to a test view with and without the previous patch applied.
If the patch is not applied, we get schema missing errors, if it is, we get the following (in the test review).
Comment #7
arla commentedSeems like that test view is very outdated. I edited it in the Views UI, and when I saved it, a lot was changed (mostly new stuff added). Seems like the last patch is failing because the few lines added trigger some validation of this outdated structure.
Comment #8
olli commentedDo we even need that
display_options.sorts.changed.expose.orderso you could replacewith
?
Comment #9
olli commentedComment #10
olli commentedHere's a test.
Comment #11
olli commentedAdded the alternative to "Proposed resolution".
Comment #14
dawehner@olli++
The actual sort order is exposed in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php:243 so its a different place.
Comment #15
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 646fc6c and pushed to 8.0.x. Thanks!