[ingo] BUG: Moving filter in filter list always moves by one

Jan Schneider jan at horde.org
Wed Jun 1 17:52:12 UTC 2011


Zitat von Olivier <olivier at ablinux.com>:

> Hi,
>
> In Ingo 2.0.1, when i move a rule by more than one step, using the  
> rightest input form field corresponding to the rule and indicating  
> the new number, the rule is always move by one, not by the number i  
> specify.
>
> It seems to be a bug in ingo/filters.php, for case rule_up and rule_down...
>>    case 'rule_up':
>>        $filters->ruleUp($vars->rulenumber, $vars->steps || 1);
>>        break;
>>
>>    case 'rule_down':
>>        $filters->ruleDown($vars->rulenumber, $vars->steps || 1);
>>        break;
> The expression "$vars->steps || 1" always returns a true boolean  
> value, not the form indicated step !!
>
> Olivier

Create a ticket.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the ingo mailing list