MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-CovidStats

    Scheduled Pinned Locked Moved Health
    11 Posts 4 Posters 3.6k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mayfield
      last edited by

      Great job on this module, I really like it. What options are there to sort by?

      thgmirrorT 1 Reply Last reply Reply Quote 0
      • thgmirrorT Offline
        thgmirror @mayfield
        last edited by

        @mayfield
        Your favorite countries appear in the sequence you add them in the config.js:

        countries: ["DEU","NLD","PER","FRA","DNK","NOR","SWE","FIN"],
        

        Thomas

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mayfield @thgmirror
          last edited by

          @thgmirror No I ment the sort by option in the config
          alt text

          mumblebajM 2 Replies Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @mayfield
            last edited by

            @mayfield The sortby option is not working from the API perspective. Will look at another way to implement the sortby option

            Check out my modules at: https://github.com/mumblebaj?tab=repositories
            Check my blog-post: https://mumblebaj.xyz/

            1 Reply Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @mayfield
              last edited by

              @mayfield Have updated with the option for sortBy. You can use one of the following options

              Possible values: cases, todayCases, deaths, todayDeaths, recovered, active

              Just do a git pull

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/

              1 Reply Last reply Reply Quote 0
              • 0m4r0 Offline
                0m4r Module Developer
                last edited by 0m4r

                [edited]
                Apologies. I read it quickly and did not get you were adv your own module.

                https://github.com/0m4r

                mumblebajM 1 Reply Last reply Reply Quote 1
                • mumblebajM Offline
                  mumblebaj Module Developer @0m4r
                  last edited by

                  @0m4r Way to go, promoting your own module on my module page…

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/

                  mumblebajM 1 Reply Last reply Reply Quote 0
                  • mumblebajM Offline
                    mumblebaj Module Developer @mumblebaj
                    last edited by

                    Hi All

                    Updates

                    Updated data sources to new version of API.

                    To Update

                    cd ~/MagicMirror/modules
                    cd MMM-CovidStats
                    git pull && npm install
                    

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                    Check my blog-post: https://mumblebaj.xyz/

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy