getgrav / grav-plugin-archives

Grav Archives Plugin
https://getgrav.org
MIT License
8 stars 12 forks source link

Turning "Show Count" off makes archive listings disappear forever #3

Closed zebradots closed 8 years ago

zebradots commented 8 years ago

(Started from TwentyFifteen skeleton, added Admin plugin, updated all.)

Steps to reproduce

  1. Install a skeleton which features an Archive listing (e.g. TwentyFifteen)
  2. In the "Archives" plugin settings, turn the "Show Count" option off
  3. Open page, and see that no archive listings appear, not even without post counts
  4. Re-enable the "Show Count" option
  5. View your page and see that the archive listings are gone forever, no matter what you try

    Expected results

Turning "Show Count" off should show the list of months with the post counts removed

Actual results

Archive month list disappears forever. Clearing the cache doesn't help. Must reinstall Grav.

flaviocopes commented 8 years ago

I cannot reproduce this. I tried with the Blog Site skeleton. Simply, the count disappears.

Very strange that you cannot recover the site after turning the setting back to true.