File tree 7 files changed +7
-21
lines changed
eZ/Publish/API/Repository/Values/Content/Query 7 files changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,10 @@ Changes affecting version compatibility with former or future versions.
86
86
* In semantic configuration, `ezpublish.system.<siteAccessName>.session_name` is deprecated.
87
87
Use `ezpublish.system.<siteAccessName>.session.name` instead.
88
88
89
+ * All Location based SortClauses, as well as PriorityCriterion and DepthCriterion has been
90
+ deprecated for content search use since their behaviour is unpredictable by design when
91
+ content has several locations. Instead use same functionality on new Location Search API.
92
+
89
93
No further changes are known in this release at the time of writing.
90
94
See online on your corresponding eZ Publish version for
91
95
updated list of known issues (missing features, breaks and errata).
Original file line number Diff line number Diff line change 21
21
* Supported operators:
22
22
* - IN: matches against a list of location ids
23
23
* - EQ: matches against a unique location id
24
- *
25
- * @deprecated Since 5.3, use Location search instead
26
24
*/
27
25
class LocationId extends Criterion implements CriterionInterface
28
26
{
@@ -33,8 +31,6 @@ class LocationId extends Criterion implements CriterionInterface
33
31
*
34
32
* @throws \InvalidArgumentException if a non numeric id is given
35
33
* @throws \InvalidArgumentException if the value type doesn't match the operator
36
- *
37
- * @deprecated Since 5.3, use Location search instead
38
34
*/
39
35
public function __construct ( $ value )
40
36
{
Original file line number Diff line number Diff line change 19
19
* Supported operators:
20
20
* - IN: will match from a list of location remote IDs
21
21
* - EQ: will match against one location remote ID
22
- *
23
- * @deprecated Since 5.3, use Location search instead
24
22
*/
25
23
class LocationRemoteId extends Criterion implements CriterionInterface
26
24
{
@@ -31,8 +29,6 @@ class LocationRemoteId extends Criterion implements CriterionInterface
31
29
*
32
30
* @throws \InvalidArgumentException if a non numeric id is given
33
31
* @throws \InvalidArgumentException if the value type doesn't match the operator
34
- *
35
- * @deprecated Since 5.3, use Location search instead
36
32
*/
37
33
public function __construct ( $ value )
38
34
{
Original file line number Diff line number Diff line change 21
21
* Supported operators:
22
22
* - IN: matches against a list of location ids
23
23
* - EQ: matches against a unique location id
24
- *
25
- * @deprecated Since 5.3, use Location search instead
26
24
*/
27
25
class ParentLocationId extends Criterion implements CriterionInterface
28
26
{
@@ -33,8 +31,6 @@ class ParentLocationId extends Criterion implements CriterionInterface
33
31
*
34
32
* @throws \InvalidArgumentException if a non numeric id is given
35
33
* @throws \InvalidArgumentException if the value type doesn't match the operator
36
- *
37
- * @deprecated Since 5.3, use Location search instead
38
34
*/
39
35
public function __construct ( $ value )
40
36
{
Original file line number Diff line number Diff line change 18
18
* Criterion that matches content that belongs to a given (list of) Subtree(s)
19
19
*
20
20
* Content will be matched if it is part of at least one of the given subtree path strings
21
- *
22
- * @deprecated Since 5.3, use Location search instead
23
21
*/
24
22
class Subtree extends Criterion implements CriterionInterface
25
23
{
@@ -30,8 +28,6 @@ class Subtree extends Criterion implements CriterionInterface
30
28
*
31
29
* @throws InvalidArgumentException if a non path string is given
32
30
* @throws InvalidArgumentException if the value type doesn't match the operator
33
- *
34
- * @deprecated Since 5.3, use Location search instead
35
31
*/
36
32
public function __construct ( $ value )
37
33
{
Original file line number Diff line number Diff line change 17
17
/**
18
18
* A criterion that matches content based on its visibility
19
19
*
20
- * @deprecated Since 5.3, use Location search instead
20
+ * @warning This Criterion acts on all locations of a Content, so it will include hidden
21
+ * content within the tree you are searching for if content has visible location elsewhere.
22
+ * This is intentional and you should rather use LocationSearch if this is not the behaviour you want.
21
23
*/
22
24
class Visibility extends Criterion implements CriterionInterface
23
25
{
@@ -37,8 +39,6 @@ class Visibility extends Criterion implements CriterionInterface
37
39
* @param int $value Visibility: self::VISIBLE, self::HIDDEN
38
40
*
39
41
* @throws \InvalidArgumentException
40
- *
41
- * @deprecated Since 5.3, use Location search instead
42
42
*/
43
43
public function __construct ( $ value )
44
44
{
Original file line number Diff line number Diff line change 22
22
* @todo: check hierarchical facets
23
23
*
24
24
* @package eZ\Publish\API\Repository\Values\Content\Query
25
- *
26
- * @deprecated Since 5.3, use Location search instead
27
25
*/
28
26
class LocationFacetBuilder extends FacetBuilder
29
27
{
You can’t perform that action at this time.
0 commit comments