You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/channels/entries.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,13 +309,15 @@ NOTE: **Note:** Using this parameter will automatically constrain the entries ta
309
309
310
310
### `group_id=`
311
311
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
+
312
314
group_id="4"
313
315
314
316
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:
315
317
316
318
group_id="2|3|4"
317
319
318
-
Or exclude groups using "not"
320
+
Or exclude role using "not"
319
321
320
322
group_id="not 2|3|4"
321
323
@@ -436,6 +438,18 @@ This tells ExpressionEngine to override the normal [pagination](templates/pagina
436
438
437
439
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.
438
440
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:
0 commit comments