Opened 13 years ago
Closed 12 years ago
#1512 closed defect (bug) (fixed)
Parent Topic Limit
Reported by: | jonkristian | Owned by: | |
---|---|---|---|
Milestone: | 2.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General - Administration | Keywords: | |
Cc: | wordpress@… |
Description
I have over 50 topics!
Please remove numberposts => 50 on line 397 in bbp-metaboxes.php
Attachments (3)
Change History (11)
#1
@
13 years ago
- Keywords numberposts parent topic bbp_dropdown removed
- Milestone set to 2.0
- Version 1.1-alpha deleted
#3
@
12 years ago
- Cc wordpress@… added
- Resolution fixed deleted
- Status changed from closed to reopened
Any chance we can also add 'order' => 'DESC' to the $args, so as the forum gets bigger, we get the last 250 topics in there instead of the first 250? When editing a reply, I think it's more probable to edit a newer one.
#4
@
12 years ago
It should actually be something like the hyperlink dialog box imo, which offers a search option.
#5
follow-up:
↓ 6
@
12 years ago
One easy solution would be checking if the $selected post is not part of the $posts dataset, and add it. 1512.diff has a rough implementation of this.
But I agree that ajaxify this would be cool. I'm wondering how many people actually updates the topic for a reply. Seems a very specific scenario to me.
What if instead of showing the combo we show the title of the parent topic and a link "Change", and when you click that link it makes an ajax call for the combo, with numberposts=-1. So we keep the UI snappy for everyone, but load the whole set for the specific case you need it. I can have a go to implement it, but I'd love to have some feedback before starting coding.
#6
in reply to:
↑ 5
@
12 years ago
Replying to MZAWeb:
One easy solution would be checking if the $selected post is not part of the $posts dataset, and add it. 1512.diff has a rough implementation of this.
This works better than the wp_list_pluck in the if in my patch
!wp_list_filter( $posts, array( 'ID' => intval( $r['selected'] ) ) )
Removes numberposts from topics dropdown.