BUG 11075 Adicion de triggers: UP-DOWN no funciona SOLVED
- En la asignación de triggers a un Step, es difícil poder mover la posición de un trigger (en cualquiera de las opciones: Before, After, Before Assignment, Before Routing,etc)con el Down y Up. - Added sortable attribute in propelTable.
This commit is contained in:
@@ -63,7 +63,7 @@ class propelTable
|
||||
public $query;
|
||||
public $totPages;
|
||||
public $totRows;
|
||||
public $sortable = 'true';
|
||||
public $sortable = '1';
|
||||
|
||||
//SQL QUERIES
|
||||
public $criteria;
|
||||
@@ -343,7 +343,7 @@ class propelTable
|
||||
|
||||
if ($this->style[$r]['titleVisibility'] != '0') {
|
||||
$this->style[$r]['href'] = $this->ownerPage . '?order=' . ($sortOrder !== '' ? (G::createUID( '', $this->fields[$r]['Name'] ) . '=' . $sortOrder) : '') . '&page=' . $this->currentPage;
|
||||
if ($this->sortable == 'false') {
|
||||
if ($this->sortable == '0') {
|
||||
$this->style[$r]['onsort'] = $this->id . '.doSort("' . G::createUID( '', $this->fields[$r]['Name'] ) . '" , ""); return false;';;
|
||||
} else {
|
||||
$this->style[$r]['onsort'] = $this->id . '.doSort("' . G::createUID( '', $this->fields[$r]['Name'] ) . '" , "' . $sortOrder . '"); return false;';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dynaForm sqlConnection="" menu="steps/triggersAfter_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="false" >
|
||||
<dynaForm sqlConnection="" menu="steps/triggersAfter_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="0" >
|
||||
|
||||
<STEP_UID type="hidden" showInTable="0"/>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dynaForm sqlConnection="" menu="steps/triggersBefore_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="false" >
|
||||
<dynaForm sqlConnection="" menu="steps/triggersBefore_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="0" >
|
||||
|
||||
<STEP_UID type="hidden" showInTable="0"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user