Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bugs?


Guest

Recommended Posts

This forum is "Suggestions" so I'll post my little bug here...

 

/admin/orders.php

 

When you are in the Admin site, and you click the "Customers" and then "Orders" it opens the following url:

 

/admin/orders.php

 

Which properly shows ALL orders... great.

 

Now the problem is when you drop down the "Status" menu to filter down no only Pending (1), processing (2), or delivered (3) (all of which work perfectly) and then SELECT "All Orders"... this is where it breaks... it opens:

 

/admin/orders.php?status=

 

and, it cannot display all entries where status = '' because all orders have a status of 1, 2 or 3...

 

Change the URL action for "All Orders" to only "orders.php" without any query string.

 

Clifford Wagner.

 

PS, if there is somewhere official "BUGS" are to be posted... let me know.

Link to comment
Share on other sites

BTW, even thought the URL shows admin/orders.php?status=, this doesn't break my admin, though, because if that value is false, it automatically displays all orders.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

  • 2 months later...

In our store I fixed this as follows:

 

In /catalog/admin/orders.php

approx line 357

 

change

 

elseif (isset($HTTP_GET_VARS['status'])) {

 

to

elseif (isset($HTTP_GET_VARS['status']) && tep_not_null($HTTP_GET_VARS['status'])) {

 

Cheers

Rob

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...