Skip to content

Commit

Permalink
Merge pull request craftplugins#14 from elivz/master
Browse files Browse the repository at this point in the history
Only count the number of entries in each section
  • Loading branch information
joshuabaker committed Oct 11, 2015
2 parents 331d476 + 620be8b commit 2c82ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sitemap/templates/_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{%- endif -%}
</td>
<td>
{{- craft.entries.section(section).limit(null)|length -}}
{{- craft.entries.section(section).total() -}}
</td>
<td>
{{- forms.selectField({
Expand Down

0 comments on commit 2c82ae4

Please sign in to comment.