Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outstanding Sales Orders table doesn't sort - fixed
04-03-2014, 01:35 AM (This post was last modified: 04-03-2014 01:37 AM by agaluski.)
Post: #1
Outstanding Sales Orders table doesn't sort - fixed
The table in the Outstanding Order doesn't sort. This is due to the "Place P/O" Button and "Total Order Value" being included in the table itself.
This can be fixed by inserting the following code at line 1009

echo '</table><table>'; //closes sortable table and opens new table

Formatting change slightly but table sorting is functioning which is important for a company with a larger set of orders returned.
The other option would be to split the <td colspan> into individual <td> tags
Find all posts by this user
Quote this message in a reply
04-03-2014, 05:02 AM
Post: #2
RE: Outstanding Sales Orders table doesn't sort - fixed
Hello Andrew, you can use the <tfoot></tfoot> tags for the lines at the end, which makes the table sortable but keeps everything within one table, which will look better in some themes.

Thanks
Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
04-09-2014, 09:47 PM
Post: #3
RE: Outstanding Sales Orders table doesn't sort - fixed
Hi, Andrew and Tim,

Thank you both of you. I've commit the fix to the trunk.

Thanks again!

Best regards!

Exson
Find all posts by this user
Quote this message in a reply
04-10-2014, 01:11 AM
Post: #4
RE: Outstanding Sales Orders table doesn't sort - fixed
Hello Exson. Thanks for your message. Which fix did you apply? Mine or Tim's Just curious so I can update mine if needed to match for future upgrades.
Find all posts by this user
Quote this message in a reply
04-10-2014, 12:19 PM
Post: #5
RE: Outstanding Sales Orders table doesn't sort - fixed
Hi, Andrew,

I've applied Tim's fixed.

Best regards!

Exson
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)