Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2187

Fix sorting by download count on all apps page

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Fall 8 : 25 Nov to 6 Dec, Fall 9 : 9 Dec to 20 Dec, Spring 1 : 25 Dec to 17 Jan

      Description

      When on the 'All Apps' page, sorting by Downloads does not work. Sorting by Downloads works fine on specific category/tag pages.

      Debug and fix sort_app_buttons.js to allow for proper sorting.

        Attachments

        1. sort1.JPG
          108 kB
          Shamika Gajanan Kulkarni
        2. sort2.JPG
          103 kB
          Shamika Gajanan Kulkarni

          Issue Links

            Activity

            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Fall 8 : 25 Nov to 6 Dec, Fall 9 : 9 Dec to 20 Dec [ 79, 80 ] Fall 8 : 25 Nov to 6 Dec, Fall 9 : 9 Dec to 20 Dec, Spring 1 : 6 Jan to 17 Jan [ 79, 80, 84 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged but not yet deployed to https://dev-appstore-2.bioviz.org.

            Show
            ann.loraine Ann Loraine added a comment - Merged but not yet deployed to https://dev-appstore-2.bioviz.org .
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see PR here: https://bitbucket.org/lorainelab/appstore/pull-requests/199/igbf-2187-add-secondary-alphabetical/diff
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Deployed to https://dev-appstore-2.bioviz.org and ready for final testing.

            Show
            ann.loraine Ann Loraine added a comment - Deployed to https://dev-appstore-2.bioviz.org and ready for final testing.
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Ready for PR.

            Show
            ann.loraine Ann Loraine added a comment - Ready for PR.
            pbadzuh Philip Badzuh (Inactive) made changes -
            Story Points 1 2
            Assignee Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - I have added secondary alphabetical sorting here: https://bitbucket.org/pbadzuh/appstore_pbdev/commits/090d21ac025ed8cb858362e2e3dee3fe8a68428b?at=IGBF-2187
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            I am cool with a random sort. I would say: it is the developer's choice on this one.

            cc: Philip Badzuh and Shamika Gajanan Kulkarni

            Show
            ann.loraine Ann Loraine added a comment - I am cool with a random sort. I would say: it is the developer's choice on this one. cc: Philip Badzuh and Shamika Gajanan Kulkarni
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ] Philip Badzuh [ pbadzuh ]
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - - edited

            Tested the ticket. For multiple apps that have the highest and equal number of downloads, they are shuffled randomly after each sort. The sorting as per count is working perfectly fine.
            Question: Do we need to sort the apps with same download count alphabetically or should we let it be as it is?

            Kindly refer the screenshot for the same.
            The apps 23nMe SNP Converter, App for testing App Workflow and Find Annotations each have download count as 2, higher than the other apps.

            Prof. [~aloraine], Philip Badzuh

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - - edited Tested the ticket. For multiple apps that have the highest and equal number of downloads, they are shuffled randomly after each sort. The sorting as per count is working perfectly fine. Question: Do we need to sort the apps with same download count alphabetically or should we let it be as it is? Kindly refer the screenshot for the same. The apps 23nMe SNP Converter, App for testing App Workflow and Find Annotations each have download count as 2, higher than the other apps. Prof. [~aloraine] , Philip Badzuh
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Attachment sort1.JPG [ 14565 ]
            Attachment sort2.JPG [ 14566 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Fall 8 : 25 Nov to 6 Dec [ 79 ] Fall 8 : 25 Nov to 6 Dec, Fall 9 : 9 Dec to 20 Dec [ 79, 80 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged but not yet deployed on dev-appstore-2.

            Show
            ann.loraine Ann Loraine added a comment - Merged but not yet deployed on dev-appstore-2.
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see PR here: https://bitbucket.org/lorainelab/appstore/pull-requests/193/igbf-2187-fix-sorting-by-download-count-on/diff
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            I fixed the issue with a simple change that can be seen below. I think the whitespace additions/deletions are an atom issue, as I didn't make them directly. Please review: https://bitbucket.org/pbadzuh/appstore_pbdev/branch/IGBF-2187#diff

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - I fixed the issue with a simple change that can be seen below. I think the whitespace additions/deletions are an atom issue, as I didn't make them directly. Please review: https://bitbucket.org/pbadzuh/appstore_pbdev/branch/IGBF-2187#diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Link This issue relates to REL-33 [ REL-33 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Field Original Value New Value
            Epic Link IGBF-1388 [ 17463 ]
            pbadzuh Philip Badzuh (Inactive) created issue -

              People

              • Assignee:
                pbadzuh Philip Badzuh (Inactive)
                Reporter:
                pbadzuh Philip Badzuh (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: