Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to show all articles in the new mod_articles #44127

Merged
merged 3 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion language/en-GB/mod_articles.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ MOD_ARTICLES_FIELD_AUTHOR_LABEL="Authors"
MOD_ARTICLES_FIELD_CATDEPTH_LABEL="Category Depth"
MOD_ARTICLES_FIELD_CATFILTERINGTYPE_DESC="Include or exclude the selected categories."
MOD_ARTICLES_FIELD_CATFILTERINGTYPE_LABEL="Category Filtering Type"
MOD_ARTICLES_FIELD_COUNT_DESC="The number of items to display. The default value of 0 will display all articles."
MOD_ARTICLES_FIELD_COUNT_DESC="The number of items to display. Set to 0 to show all articles."
MOD_ARTICLES_FIELD_COUNT_LABEL="Articles to Display"
MOD_ARTICLES_FIELD_DATEFIELDFORMAT_DESC="Please enter in a valid date format. See: https://php.net/date for formatting information."
MOD_ARTICLES_FIELD_DATEFIELDFORMAT_LABEL="Date Format"
Expand Down
3 changes: 2 additions & 1 deletion modules/mod_articles/mod_articles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
name="count"
type="number"
label="MOD_ARTICLES_FIELD_COUNT_LABEL"
description="MOD_ARTICLES_FIELD_COUNT_DESC"
default="5"
filter="integer"
min="1"
min="0"
validate="number"
/>

Expand Down