WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#9684 closed defect (bug) (fixed)

Changeset [11132] renders the postmeta_form_limit useless

Reported by: Denis-de-Bernardy Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: General Keywords: has-patch commit
Focuses: Cc:

Description

it's all in the title.

patch coming in a sec to make the query less expensive.

Attachments (1)

9684.diff (703 bytes) - added by Denis-de-Bernardy 6 years ago.
fixed patch -- restores the natsort

Download all attachments as: .zip

Change History (4)

comment:1 @Denis-de-Bernardy6 years ago

  • Keywords has-patch commit added
  • Milestone changed from Unassigned to 2.8
  • Version set to 2.8

the having clause applies after the group by. that way, we're no longer applying a where filter on every row, but rather on every unique meta_key. it should go faster than the php equivalent in r11132.

@Denis-de-Bernardy6 years ago

fixed patch -- restores the natsort

comment:3 @ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.