Allow sorting by rating, fixes #3477. Hat tip: tassoman
git-svn-id: https://develop.svn.wordpress.org/trunk@4690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
edc25c4406
commit
7851a229db
@ -87,6 +87,7 @@ $select_order = "<select name=\"order_by\">\n";
|
||||
$select_order .= '<option value="order_id"' . (($order_by == 'order_id') ? " selected='selected'" : '') . '>' . __('Link ID') . "</option>\n";
|
||||
$select_order .= '<option value="order_name"' . (($order_by == 'order_name') ? " selected='selected'" : '') . '>' . __('Name') . "</option>\n";
|
||||
$select_order .= '<option value="order_url"' . (($order_by == 'order_url') ? " selected='selected'" : '') . '>' . __('Address') . "</option>\n";
|
||||
$select_order .= '<option value="order_rating"' . (($order_by == 'order_rating') ? " selected='selected'" : '') . '>' . __('Rating') . "</option>\n";
|
||||
$select_order .= "</select>\n";
|
||||
|
||||
printf(__('Currently showing %1$s links ordered by %2$s'), $select_cat, $select_order);
|
||||
|
Loading…
Reference in New Issue
Block a user