Skip to content

Commit acc5308

Browse files
Copilotalongosz
andcommitted
Fix links to use original relative paths instead of API reference URLs
Co-authored-by: alongosz <7099219+alongosz@users.noreply.github.com>
1 parent f1a272e commit acc5308

2 files changed

Lines changed: 20 additions & 24 deletions

File tree

docs/search/search_in_trash_reference/trash_criteria.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,25 @@ month_change: false
66

77
# Trash Search Criteria reference
88

9-
Search Criteria for trash are found in the [`Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion`](/api/php_api/php_api_reference/namespaces/ibexa-contracts-core-repository-values-content-query-criterion.html) namespace, implementing the [CriterionInterface](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-CriterionInterface.html) interface:
10-
119
| Criterion | Description |
1210
|---|---|
13-
| [ContentName](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-ContentName.html) | Find content items by their name |
14-
| [ContentTypeId](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-ContentTypeId.html) | Find content items by their Content Type ID |
15-
| [DateMetadata](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-DateMetadata.html) | Find content items by metadata dates. Can use the additional exclusive target `DateMetadata::TRASHED` for trash-specific searches |
16-
| [MatchAll](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-MatchAll.html) | Match all content items (no filtering) |
17-
| [MatchNone](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-MatchNone.html) | Match no content items (filter out all) |
18-
| [SectionId](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-SectionId.html) | Find content items by their Section ID |
19-
| [UserMetadata](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-UserMetadata.html) | Find content items by user metadata (creator or modifier) |
11+
| [ContentName](../contentname_criterion.md) | Find content items by their name |
12+
| [ContentTypeId](../contenttypeid_criterion.md) | Find content items by their Content Type ID |
13+
| [DateMetadata](../datemetadata_criterion.md) | Find content items by metadata dates. Can use the additional exclusive target `DateMetadata::TRASHED` for trash-specific searches |
14+
| [MatchAll](../matchall_criterion.md) | Match all content items (no filtering) |
15+
| [MatchNone](../matchnone_criterion.md) | Match no content items (filter out all) |
16+
| [SectionId](../sectionid_criterion.md) | Find content items by their Section ID |
17+
| [UserMetadata](../usermetadata_criterion.md) | Find content items by user metadata (creator or modifier) |
2018

2119
## Logical operators
2220

2321
| Operator | Description |
2422
|---|---|
25-
| [LogicalAnd](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-LogicalAnd.html) | Composite criterion to group multiple criteria using the AND condition |
26-
| [LogicalNot](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-LogicalNot.html) | Negate the result of the wrapped criterion |
27-
| [LogicalOr](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-LogicalOr.html) | Composite criterion to group multiple criteria using the OR condition |
23+
| [LogicalAnd](../logicaland_criterion.md) | Composite criterion to group multiple criteria using the AND condition |
24+
| [LogicalNot](../logicalor_criterion.md) | Negate the result of the wrapped criterion |
25+
| [LogicalOr](../logicalor_criterion.md) | Composite criterion to group multiple criteria using the OR condition |
2826

29-
You can use these criteria to build complex search queries for content items that are held in trash. The search is performed using the [`Ibexa\Contracts\Core\Repository\TrashService::findTrashItems`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-TrashService.html#method_findTrashItems) method.
27+
You can use these criteria to build complex search queries for content items that are held in trash.
3028

3129
The following example shows how you can use the criteria to find trashed content items:
3230

docs/search/search_in_trash_reference/trash_sort_clauses.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@ month_change: false
66

77
# Trash Search Sort Clauses reference
88

9-
Sort Clauses for trash are found in the [`Ibexa\Contracts\Core\Repository\Values\Content\Query\SortClause`](/api/php_api/php_api_reference/namespaces/ibexa-contracts-core-repository-values-content-query-sortclause.html) namespace, implementing the [SortClauseInterface](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClauseInterface.html) interface:
10-
119
| Name | Description |
1210
| --- | --- |
13-
| [ContentName](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-ContentName.html) | Sort by content item name |
14-
| [ContentTypeName](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-ContentTypeName.html) | Sort by Content Type name |
15-
| [DateTrashed](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-DateTrashed.html) | Sort by the date when content was moved to trash (exclusive to trash search) |
16-
| [Depth](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-Depth.html) | Sort by the original depth in the content tree |
17-
| [Path](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-Path.html) | Sort by the original path in the content tree |
18-
| [Priority](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-Priority.html) | Sort by content item priority |
19-
| [SectionName](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-SectionName.html) | Sort by Section name |
20-
| [UserLogin](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-SortClause-UserLogin.html) | Sort by the login of the user who created the content |
11+
| [ContentName](../contentname_sort_clause.md) | Sort by content item name |
12+
| [ContentTypeName](../contenttypename_sort_clause.md) | Sort by Content Type name |
13+
| [DateTrashed](../datetrashed_sort_clause.md) | Sort by the date when content was moved to trash (exclusive to trash search) |
14+
| [Depth](../depth_sort_clause.md) | Sort by the original depth in the content tree |
15+
| [Path](../path_sort_clause.md) | Sort by the original path in the content tree |
16+
| [Priority](../priority_sort_clause.md) | Sort by content item priority |
17+
| [SectionName](../sectionname_sort_clause.md) | Sort by Section name |
18+
| [UserLogin](../userlogin_sort_clause.md) | Sort by the login of the user who created the content |
2119

2220
The following example shows how to use sort clauses to order the searched trash items:
2321

@@ -45,4 +43,4 @@ The returned trash items are sorted by:
4543
- content name (ascending - alphabetically)
4644
- Content Type name (ascending - alphabetically)
4745

48-
You can change the default sorting order by using the `Query::SORT_ASC` and `Query::SORT_DESC` constants from [`Query`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query.html#constants).
46+
You can change the default sorting order by using the `Query::SORT_ASC` and `Query::SORT_DESC` constants.

0 commit comments

Comments
 (0)