Skip to content

Commit 155c698

Browse files
authored
Merge pull request #650 from ExpressionEngine/feature/7.x/primary-role-id-param
Docs for `primary_role_id` param
2 parents e4952bf + 1f22d88 commit 155c698

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/channels/entries.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,15 @@ NOTE: **Note:** Using this parameter will automatically constrain the entries ta
309309

310310
### `group_id=`
311311

312+
NOTE: We recommend using [primary_role_id=](#primary_role_id) parameter instead, which works the same but more clearly conveys that the filtering is happening on primary role ID.
313+
312314
group_id="4"
313315

314316
You can decide from which Member Role (by specifying the role ID) you wish entries to be shown. If you choose "4", then only entries created by members of the Primary Role with the ID of 4 will be shown. You can choose multiple Roles using a pipe:
315317

316318
group_id="2|3|4"
317319

318-
Or exclude groups using "not"
320+
Or exclude role using "not"
319321

320322
group_id="not 2|3|4"
321323

@@ -436,6 +438,18 @@ This tells ExpressionEngine to override the normal [pagination](templates/pagina
436438

437439
This tells ExpressionEngine to function in "pagination" mode for your channel entry fields so that you can automatically have an entry span multiple pages. See the [Spanning a Channel Entry Across Multiple Pages](channels/entry-spanning.md) page.
438440

441+
### `primary_role_id=`
442+
443+
primary_role_id="4"
444+
445+
You can decide from which Member Role (by specifying the role ID) you wish entries to be shown. If you choose "4", then only entries created by members of the Primary Role with the ID of 4 will be shown. You can choose multiple Roles using a pipe:
446+
447+
primary_role_id="2|3|4"
448+
449+
Or exclude roles using "not"
450+
451+
primary_role_id="not 2|3|4"
452+
439453
### `related_categories_mode=`
440454

441455
related_categories_mode="no" related_categories_mode="yes"

0 commit comments

Comments
 (0)