Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Show more orders in admin/order.php


Recommended Posts

controled with MAX_DISPLAY_SEARCH_RESULTS

 

change that to smthing else on page, ie MAX_DISPLAY_SEARCH_RESULTS_ADMIN

 

and add a define for it in configure.php

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Thanks Sam but....

..... for a php-stupid like me that don't give me much :) :(

 

I get it that I shall change MAX_DISPLAY_SEARCH_RESULTS to MAX_DISPLAY_SEARCH_RESULTS_ADMIN in admin/orders.php.

 

But how should a define for MAX_DISPLAY_SEARCH_RESULTS_ADMIN look like?

 

define(MAX_DISPLAY_SEARCH_RESULTS_ADMIN, '50');

 

?

 

I have been searching for MAX_DISPLAY_SEARCH_RESULTS to find out how a define for that looks like but I have not found it.

 

Regards

Thomas

Running osCommerce Online Merchant v2.2 RC2a - http://www.takbox.se/butiken

Link to comment
Share on other sites

MAX_DISPLAY_SEARCH_RESULTS is a system parameter and stored in the database table configuration. It would be possible to add a parameter such as the mentioned above, but it needs some knowledge to do this and not to mess up the system. The fastest and easiest way would be to replace the MAX_DISPLAY_SEARCH_RESULTS with the Number 50 in orders.php. Disadvantage is that you have to edit code any time you want to change the number. Anyways, there are more elegant solutions for this task, but as mentioned they ned some programming skills.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...