mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-81488 reportbuilder: Fix incorrect string in report number filter
This commit is contained in:
parent
b621a7e4b3
commit
45d366d463
@ -144,6 +144,7 @@ $string['filterendswith'] = 'Ends with';
|
||||
$string['filterequalorgreaterthan'] = 'Greater than or equal';
|
||||
$string['filterequalorlessthan'] = 'Less than or equal';
|
||||
$string['filterfieldoperator'] = '{$a} operator';
|
||||
$string['filterfieldto'] = '{$a} to';
|
||||
$string['filterfieldunit'] = '{$a} unit';
|
||||
$string['filterfieldvalue'] = '{$a} value';
|
||||
$string['filtergreaterthan'] = 'Greater than';
|
||||
|
@ -96,7 +96,8 @@ class number extends base {
|
||||
$mform->hideIf($this->name . '_value1', $this->name . '_operator', 'in',
|
||||
[self::ANY_VALUE, self::IS_NOT_EMPTY, self::IS_EMPTY]);
|
||||
|
||||
$objs['text2'] = $mform->createElement('text', $this->name . '_value2', get_string('torecipient'), ['size' => 3]);
|
||||
$objs['text2'] = $mform->createElement('text', $this->name . '_value2',
|
||||
get_string('filterfieldto', 'reportbuilder', $this->get_header()), ['size' => 3]);
|
||||
$mform->setType($this->name . '_value2', PARAM_INT);
|
||||
$mform->setDefault($this->name . '_value2', 0);
|
||||
$mform->hideIf($this->name . '_value2', $this->name . '_operator', 'noteq', self::RANGE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user