WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28232, comment 14


Ignore:
Timestamp:
11/05/2018 11:17:31 PM (3 years ago)
Author:
drzraf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28232, comment 14

    initial v1  
    11The query tweak needed is here: http://scribu.net/wordpress/sortable-taxonomy-columns.html
    22{{{
    3 #!sql
     3#!php
    44                $clauses['join'] .= <<<SQL
    55LEFT OUTER JOIN {$wpdb->term_relationships} ON {$wpdb->posts}.ID={$wpdb->term_relationships}.object_id