WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#3237 closed enhancement (fixed)

Increase number of post-meta keys to 30 and sort them

Reported by: alexkingorg Owned by: markjaquith
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

I've found that the post-meta drop down list is hard to use in 2 ways:

  1. I have ~15 keys and keys disappear from the list and I have to look them up
  2. Since keys are not always in the list and can appear in a different order each time, it is hard to find a key with visual scanning even if the key *is* in the list.

This patch increases the key list from 10 to 30, and sorts the keys.

If this is rejected, please e-mail me to let me know and I'll write an auto-complete plugin instead.

Attachments (2)

patch.diff (698 bytes) - added by alexkingorg 8 years ago.
patch
post_meta_form_limit.diff (1.1 KB) - added by markjaquith 8 years ago.
Move limit to 30, add filter, natcasesort()

Download all attachments as: .zip

Change History (7)

alexkingorg8 years ago

patch

comment:1 Viper007Bond8 years ago

  • Keywords has-patch added

comment:2 markjaquith8 years ago

  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

I like this. It'll only matter for people who have more than 10 keys, and those people probably want to see them for easier access.

30 is a reasonable number. I can also implement the filter suggestion from #1865 , so people can easily change it.

See patch.

markjaquith8 years ago

Move limit to 30, add filter, natcasesort()

comment:3 markjaquith7 years ago

Matt, Ryan, others -- any objections to my patch?

comment:4 matt7 years ago

This is fine.

comment:5 markjaquith7 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4413]) increase postmeta dropdown limit to 30, add filter for the limit, sort the keys. props Alex King. fixes #3237

Note: See TracTickets for help on using tickets.