Making WordPress.org

Changeset 2833


Ignore:
Timestamp:
03/28/2016 08:54:23 PM (11 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Sort camps by city in [application-tracker].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt/applications/tracker.php

    r2832 r2833  
    2424                'post_status'    => $shown_statuses,
    2525                'posts_per_page' => 300,
     26                'order'          => 'ASC',
     27                'orderby'        => 'post_title',
    2628        ) );
    2729
    28         // todo sort camps by last update. maybe do in meta query based on ID of _status_change? or call get_last_status_update_time_diff?
    29                 // todo group camps together by city name - how does that interact with sorting by last update? display list alphabetically instead of by last update?
    30        
    3130        require_once( dirname( __DIR__ ) . '/wcpt-wordcamp/wordcamp-admin.php'                             );
    3231        require(      dirname( __DIR__ ) . '/views/applications/tracker/shortcode-application-tracker.php' );
Note: See TracChangeset for help on using the changeset viewer.