Plugin Directory

Changeset 2158182


Ignore:
Timestamp:
09/18/2019 01:55:11 AM (7 years ago)
Author:
Will Brownsberger
Message:

sort issues by title in dashboard issues lists

Location:
wp-issues-crm
Files:
4 edited
7 copied

Legend:

Unmodified
Added
Removed
  • wp-issues-crm/tags/4.5.3.1/php/db/class-wic-db-access-wp.php

    r2076584 r2158182  
    2323        // default search parameters supplied -- not all apply in the WP context
    2424        $select_mode        = 'id';         // not used
    25         $sort_order         = false;        // not used
     25        $sort_order         = false;        // false is post_date desc; true is title asc
    2626        $compute_total      = true;         // not used
    2727        $retrieve_limit     = -1;           // USED
     
    133133            $query_args['meta_query']   = $meta_query_args;
    134134        }
    135 
     135        // sort by title;
     136        if ( $sort_order ) {
     137            $query_args['orderby'] = array( 'title' => 'ASC' );
     138        }
     139       
    136140        $wp_query = new WP_Query($query_args);
    137141        $this->sql = ' ' . __(' ( serialized WP_Query->query output ) ', 'wp-issues-crm' ) . serialize ( $wp_query->query );
  • wp-issues-crm/tags/4.5.3.1/readme.txt

    r2157599 r2158182  
    55Requires at least: 5
    66Tested up to: 5.2.1
    7 Stable tag: 4.5.3
     7Stable tag: 4.5.3.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108
    109109== Changelog ==
     110= 4.5.3.1 =
     111* Sort issues by title in issue lists
    110112= 4.5.3 =
    111113* Save state of dashboard to facilitate iterative select from dashboard and return to dashboard
  • wp-issues-crm/tags/4.5.3.1/wp-issues-crm.php

    r2157599 r2158182  
    44 * Plugin URI: http://wp-issues-crm.com
    55 * Description: Constituent Relationship Management for organizations that respond to constituents.  Organizes constituent contacts ( calls, etc. ) around Wordpress posts and categories.
    6  * Version: 4.5.3
     6 * Version: 4.5.3.1
    77 * Author: Will Brownsberger
    88 * Author URI: http://willbrownsberger.com
  • wp-issues-crm/trunk/php/db/class-wic-db-access-wp.php

    r2076584 r2158182  
    2323        // default search parameters supplied -- not all apply in the WP context
    2424        $select_mode        = 'id';         // not used
    25         $sort_order         = false;        // not used
     25        $sort_order         = false;        // false is post_date desc; true is title asc
    2626        $compute_total      = true;         // not used
    2727        $retrieve_limit     = -1;           // USED
     
    133133            $query_args['meta_query']   = $meta_query_args;
    134134        }
    135 
     135        // sort by title;
     136        if ( $sort_order ) {
     137            $query_args['orderby'] = array( 'title' => 'ASC' );
     138        }
     139       
    136140        $wp_query = new WP_Query($query_args);
    137141        $this->sql = ' ' . __(' ( serialized WP_Query->query output ) ', 'wp-issues-crm' ) . serialize ( $wp_query->query );
  • wp-issues-crm/trunk/readme.txt

    r2157599 r2158182  
    55Requires at least: 5
    66Tested up to: 5.2.1
    7 Stable tag: 4.5.3
     7Stable tag: 4.5.3.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108
    109109== Changelog ==
     110= 4.5.3.1 =
     111* Sort issues by title in issue lists
    110112= 4.5.3 =
    111113* Save state of dashboard to facilitate iterative select from dashboard and return to dashboard
  • wp-issues-crm/trunk/wp-issues-crm.php

    r2157599 r2158182  
    44 * Plugin URI: http://wp-issues-crm.com
    55 * Description: Constituent Relationship Management for organizations that respond to constituents.  Organizes constituent contacts ( calls, etc. ) around Wordpress posts and categories.
    6  * Version: 4.5.3
     6 * Version: 4.5.3.1
    77 * Author: Will Brownsberger
    88 * Author URI: http://willbrownsberger.com
Note: See TracChangeset for help on using the changeset viewer.