tasks order in kanban view

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chr1st0ph9
    Member
    • Jun 2016
    • 37

    tasks order in kanban view

    Hello,
    I would like to have the tasks list in the kanban view sorted first by priority (and not first by start time).
    Is it possible ?
    If yes any hint will be grandly appreciated!

    Best Regards,
    Christophe
  • yuri
    Member
    • Mar 2014
    • 8444

    #2
    Hi Christophe,

    You can only change default order entirely for Tasks. In entity manager Default Order param.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Maximus
      Senior Member
      • Nov 2018
      • 2731

      #3
      Hi,
      Entity Manager -> Tasks -> Edit:
      Default Order (field) -> Priority;
      Default Order (direction) -> Descending.

      Comment

      • chr1st0ph9
        Member
        • Jun 2016
        • 37

        #4
        Thank you Maximus and Yurikuzn,
        I did the change this affected the tasks list (which is already good) but ... no change in the kanban view (see screenshot): e.g. the urgent task (with wasabi) still appears on the bottom.

        Comment

        • Maximus
          Senior Member
          • Nov 2018
          • 2731

          #5
          Please reload a webpage.

          Comment

          • chr1st0ph9
            Member
            • Jun 2016
            • 37

            #6
            Already done ! (tried also: logout/login, cache cleaned, rebuilded and even server rebooted)
            Attached the Edited Task Window settings from the Entity Manager.

            Comment

            • Maximus
              Senior Member
              • Nov 2018
              • 2731

              #7
              Hi,
              I have paid attention that your last screenshot is not the Kanban. It is the "My Tasks" dashlat. Kanban looks like this (see attachment).
              Attached Files

              Comment

              • chr1st0ph9
                Member
                • Jun 2016
                • 37

                #8
                sorry Maximus, my mistake :-(
                Effectively my request concerned the tasks dashlat , I'm still interesting to know if it's possible to have the task ordered by priority for this view.

                However it's nice to have it in the kanban (I did the and keep the modification), thanks for your help.

                Comment

                • Maximus
                  Senior Member
                  • Nov 2018
                  • 2731

                  #9
                  For dashlat please do this:
                  1. Copy the file Tasks.json from /application/Espo/Modules/Crm/Resources/metadata/dashlets and paste it into the /custom/Espo/Custom/Resources/metadata/dashlets directory.
                  Note: the 'daslet' directory may be not existed, so you need to create it.
                  2. In the Tasks.json file replase:
                  Code:
                  "orderBy": "dateEnd" on "orderBy": "priority",
                  "order": "asc" on "order": "desc",
                  3. Make rebuild.
                  4. Reload a webpage.

                  Comment

                  • chr1st0ph9
                    Member
                    • Jun 2016
                    • 37

                    #10
                    Fantastic, this is exactly what I wanted ! THANK YOU Maximus

                    Comment

                    Working...