File tree Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 2.3
5
+
6
+ 7 October 2019
7
+
8
+ Small fixes:
9
+ 1 ) reverse sort order for past events
10
+ 2 ) reduce minimum image size to leading image rather than carousel
11
+
4
12
2.2
5
13
6
14
20 May 2019
Original file line number Diff line number Diff line change @@ -792,7 +792,7 @@ function cambridge_events_field_default_field_instances() {
792
792
),
793
793
'max_filesize ' => '' ,
794
794
'max_resolution ' => '' ,
795
- 'min_resolution ' => '885x432 ' ,
795
+ 'min_resolution ' => '590x288 ' ,
796
796
'title_field ' => 0 ,
797
797
'user_register_form ' => FALSE ,
798
798
'wysiwyg_insert ' => 0 ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name = Events
2
2
description = Adds an event content type and views.
3
3
core = 7.x
4
4
package = University of Cambridge
5
- version = 7.x-2.2
5
+ version = 7.x-2.3
6
6
project = cambridge_events
7
7
dependencies[] = body_field_definition
8
8
dependencies[] = calendar
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ function cambridge_events_strongarm() {
15
15
$ strongarm ->disabled = FALSE ; /* Edit this to true to make a default strongarm disabled initially */
16
16
$ strongarm ->api_version = 1 ;
17
17
$ strongarm ->name = 'diff_enable_revisions_page_node_event ' ;
18
- $ strongarm ->value = 1 ;
18
+ $ strongarm ->value = 0 ;
19
19
$ export ['diff_enable_revisions_page_node_event ' ] = $ strongarm ;
20
20
21
21
$ strongarm = new stdClass ();
22
22
$ strongarm ->disabled = FALSE ; /* Edit this to true to make a default strongarm disabled initially */
23
23
$ strongarm ->api_version = 1 ;
24
24
$ strongarm ->name = 'diff_show_preview_changes_node_event ' ;
25
- $ strongarm ->value = 1 ;
25
+ $ strongarm ->value = 0 ;
26
26
$ export ['diff_show_preview_changes_node_event ' ] = $ strongarm ;
27
27
28
28
$ strongarm = new stdClass ();
Original file line number Diff line number Diff line change @@ -610,6 +610,12 @@ function cambridge_events_views_default_views() {
610
610
$ handler ->display ->display_options ['fields ' ]['body ' ]['settings ' ] = array (
611
611
'trim_length ' => '350 ' ,
612
612
);
613
+ $ handler ->display ->display_options ['defaults ' ]['sorts ' ] = FALSE ;
614
+ /* Sort criterion: Content: Date - start date (field_event_date) */
615
+ $ handler ->display ->display_options ['sorts ' ]['field_event_date_value ' ]['id ' ] = 'field_event_date_value ' ;
616
+ $ handler ->display ->display_options ['sorts ' ]['field_event_date_value ' ]['table ' ] = 'field_data_field_event_date ' ;
617
+ $ handler ->display ->display_options ['sorts ' ]['field_event_date_value ' ]['field ' ] = 'field_event_date_value ' ;
618
+ $ handler ->display ->display_options ['sorts ' ]['field_event_date_value ' ]['order ' ] = 'DESC ' ;
613
619
$ handler ->display ->display_options ['defaults ' ]['filter_groups ' ] = FALSE ;
614
620
$ handler ->display ->display_options ['defaults ' ]['filters ' ] = FALSE ;
615
621
/* Filter criterion: Content: Type */
You can’t perform that action at this time.
0 commit comments