mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-68612 lib: Reverting filter/filterset default join types to match UI
These had temporarily been set to ALL for consistency while the unified filter remained in use. Now that is being replaced with the new UI, it can be returned to its intended default.
This commit is contained in:
parent
d85315ee8c
commit
9e791ff7f5
@ -41,11 +41,8 @@ use Iterator;
|
||||
*/
|
||||
class filter implements Countable, Iterator, JsonSerializable {
|
||||
|
||||
/**
|
||||
* @var in The default filter type (ALL)
|
||||
* Note: This is for backwards compatibility with the old UI behaviour and will be set to JOINTYPE_ANY as part of MDL-68612.
|
||||
*/
|
||||
const JOINTYPE_DEFAULT = 2;
|
||||
/** @var in The default filter type (ANY) */
|
||||
const JOINTYPE_DEFAULT = 1;
|
||||
|
||||
/** @var int None of the following match */
|
||||
const JOINTYPE_NONE = 0;
|
||||
|
@ -40,11 +40,8 @@ use moodle_exception;
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
abstract class filterset implements JsonSerializable {
|
||||
/**
|
||||
* @var in The default filter type (ALL)
|
||||
* Note: This is for backwards compatibility with the old UI behaviour and will be set to JOINTYPE_ANY as part of MDL-68612.
|
||||
*/
|
||||
const JOINTYPE_DEFAULT = 2;
|
||||
/** @var in The default filter type (ANY) */
|
||||
const JOINTYPE_DEFAULT = 1;
|
||||
|
||||
/** @var int None of the following match */
|
||||
const JOINTYPE_NONE = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user