Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Bug] Relation table not synchronous
#1
Hello, we discovered a bug when making adjustments on the part of the tab module relation table 
[Image: tabel_relasi_tidak_sinkron.png]

the table is not synchronized and mixed up the position at the time in reloading. Please correct the following code:

1. open the file in the view, RootFolder/application/models/manage/Modulelink_model.php
2. then looking around the line between 41 and 43 function name getModuleLinkedField()
3. add the following code:
PHP Code:
$this->setOrderBy(array('linkId' => 'ASC')); 

before code:
PHP Code:
$arrData $this->get(array('moduleName' => $moduleName)); 

your code should look something like this:
PHP Code:
$this->setOrderBy(array('linkId' => 'ASC'));
$arrData $this->get(array('moduleName' => $moduleName)); 

I will include this bugfix on the next version. Enjoy  Angel
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)