Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi df9517,

    in wp-content/plugins/redirection/models/pager.php find this:

    	function get_sortable_columns() {
    		$sortable_columns = array(
    			'url' => array( 'url', false ),
    		);
    		return $sortable_columns;
    	}
    

    and below

    'url' => array( 'url', false ),

    add

    'last_access' => array( 'last_access', false ),

    so it will look like this:

    	function get_sortable_columns() {
    		$sortable_columns = array(
    			'url' => array( 'url', false ),
                            'last_access' => array( 'last_access', false ),
    		);
    		return $sortable_columns;
    	}
    
    Thread Starter df9517

    (@df9517)

    Thanks! Wow so easy, hope it gets implemented.

    someone should write an action for it. not sure if a hook is available.

    prsc

    (@presscat2015)

    I also look forward to see this feature included in the new version!

    Sort by ‘Type’, ‘URL’, ‘Hits’, and ‘Last Access’

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sort Redirects on "last access"’ is closed to new replies.