Review main Merged

47759[TASK] Rename QueryContextType::NONE to QueryContextType::UNRESTRICTED

Morton Jonuschat CR +2 V +2 Easy +12 −16 updated 04/19/16, 08:17

Commit message

This name change transports the intent of the query context better and
makes it more intuitive to use.

Instead of explicitly disabling all enable fields and the deleted flag
using the following code:

$queryBuilder->getQueryContext()
    ->setIgnoreEnableFields(true)
    ->setIncludeDeleted(true);

the more descriptive predefined context can be used:

$queryBuilder->getQueryContext()->setContext('unrestricted')

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 6