irontap Posted February 15, 2006 Posted February 15, 2006 I want to display more rows on admin/orders.php. Does anyone know how to change the page size on this? John
kgt Posted February 15, 2006 Posted February 15, 2006 Line 363 of admin/orders.php: $orders_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS, $orders_query_raw, $orders_query_numrows); To display more orders, you'll need to either change the MAX_DISPLAY_SEARCH_RESULTS config variable ("Search Results" in the admin section under Configuration > Maximum Values) or hard code a value in the line above. Note that if you hard code it, you also need to alter lines 388 and 389 <td class="smallText" valign="top"><?php echo $orders_split->display_count($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_ORDERS); ?></td> <td class="smallText" align="right"><?php echo $orders_split->display_links($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'oID', 'action'))); ?></td> Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.