noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 59/219: ManageTable : Correct bug for the sor


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 59/219: ManageTable : Correct bug for the sort
Date: Mon, 18 Dec 2017 13:22:38 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit c055c3345a8e35bb0328b2b364d35f15c26fa7cf
Author: Dany De Bontridder <address@hidden>
Date:   Tue Sep 26 22:55:03 2017 +0200

    ManageTable : Correct bug for the sort
---
 html/js/managetable.js                    | 2 +-
 include/class/anc_account_table.class.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/js/managetable.js b/html/js/managetable.js
index fe125da..7a88bb6 100644
--- a/html/js/managetable.js
+++ b/html/js/managetable.js
@@ -83,7 +83,7 @@ var ManageTable = function (p_table_name)
      * @param {string} p_type type of sort (string, numeric)
      * @returns {ManageTable.set_sort}
      */
-    var set_sort = function (p_column) {
+    this.set_sort = function (p_column) {
       
       this.sort_column=p_column;
     };
diff --git a/include/class/anc_account_table.class.php 
b/include/class/anc_account_table.class.php
index d5267cd..ee5f1ce 100644
--- a/include/class/anc_account_table.class.php
+++ b/include/class/anc_account_table.class.php
@@ -49,7 +49,7 @@ class Anc_Account_Table extends Manage_Table_SQL
         $this->set_col_label("po_description", _("Description"));
         $this->set_col_label("ga_id", _("Groupe"));
         $this->set_col_type("ga_id", "select");
-        $this->set_object_name("Oanc_accounting");
+        $this->set_object_name("anc_accounting");
         $this->set_col_sort(1);
         $this->a_select["ga_id"]=$cn->make_array("select ga_id,ga_description 
             from groupe_analytique



reply via email to

[Prev in Thread] Current Thread [Next in Thread]