Skip to content

Commit

Permalink
[5.2] Articles Module: Display not only titles by default (#44202)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar authored Oct 8, 2024
1 parent d48372e commit 74c81e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mod_articles/mod_articles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
type="radio"
label="MOD_ARTICLES_FIELD_TITLEONLY_LABEL"
layout="joomla.form.field.radio.switcher"
default="1"
default="0"
filter="integer"
>
<option value="0">JNO</option>
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_articles/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
}

$layoutSuffix = $params->get('title_only', 1) ? '_titles' : '_items';
$layoutSuffix = $params->get('title_only', 0) ? '_titles' : '_items';

?>
<?php if ($grouped) : ?>
Expand Down

0 comments on commit 74c81e6

Please sign in to comment.