Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#9684 closed defect (bug) (fixed)

Changeset [11132] renders the postmeta_form_limit useless

Reported by: denis-de-bernardy's profile 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 15 years ago.
fixed patch -- restores the natsort

Download all attachments as: .zip

Change History (4)

#1 @Denis-de-Bernardy
15 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-Bernardy
15 years ago

fixed patch -- restores the natsort

#3 @ryan
15 years ago

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