Thread Rating:
  • 0 Vote(s) - 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.)
#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
Reply
04-03-2014, 05:02 AM,
#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
Reply
04-09-2014, 09:47 PM,
#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
Reply
04-10-2014, 01:11 AM,
#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.
Reply
04-10-2014, 12:19 PM,
#5
RE: Outstanding Sales Orders table doesn't sort - fixed
Hi, Andrew,

I've applied Tim's fixed.

Best regards!

Exson
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)