Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Purchase Orders Item List Does Not Sort
08-29-2018, 01:45 AM
Post: #1
Purchase Orders Item List Does Not Sort
Main Menu > Purchases > Purchase Order Inquiry

Displays a list with repeating headers every 12 rows.
These additional headers prevent the sort function to work correctly

in PO_SelectPurchOrder.php, look for

Code:
$j++;
    if ($j == 12) {
    $j = 1;
    echo $TableHeader;
}

and delete it.
Find all posts by this user
Quote this message in a reply
08-29-2018, 02:36 AM
Post: #2
RE: Purchase Orders Item List Does Not Sort
There used to be loads of these in the code but most have been got rid of it.
Good spot on that one.

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
08-29-2018, 11:26 AM (This post was last modified: 08-29-2018 11:30 AM by TurboPT.)
Post: #3
RE: Purchase Orders Item List Does Not Sort
@HDeriauFF ... which webERP version do you have?

I show that as already being removed with the changes for striped_row handling as part of the 4.15 release, and cannot find that block of code in the latest repository version?

This commit (back when we were still using SVN) shows that update. Lines 236 and 470 had similar code.
Find all posts by this user
Quote this message in a reply
08-31-2018, 03:00 AM (This post was last modified: 08-31-2018 03:03 AM by HDeriauFF.)
Post: #4
RE: Purchase Orders Item List Does Not Sort
(08-29-2018 11:26 AM)TurboPT Wrote:  @HDeriauFF ... which webERP version do you have?

4.14.1


Found similar issue in SuppInvGRNs.php, caused by the presence of <thead> and <tbody> tags in the table between lines 255 and 304.
Find all posts by this user
Quote this message in a reply
08-31-2018, 10:48 AM
Post: #5
RE: Purchase Orders Item List Does Not Sort
That other file should be fixed as well, but I'll check.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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