Date picker not working for Admin -> People when selecting a date to filter users

Bug #1876625 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Unassigned
19.04
Fix Released
High
Unassigned
19.10
Fix Released
High
Unassigned
20.04
Fix Released
High
Unassigned
20.10
Fix Released
High
Unassigned

Bug Description

To test:

Go to Admin -> People -> Search Users
Click on Advanced options and select 'People have not logged since' from the 'Last login' dropdown

The results should change

Note: for good testing you will need to update some users to have varying 'lastlogin' values
- you can do this by going, eg:
 UPDATE usr SET lastlogin = '2020-01-01 12:12:12' WHERE id = 2;
 UPDATE usr SET lastlogin = '2020-02-02 12:12:12' WHERE id = 3;
etc

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 19.04.6
milestone: 19.04.6 → none
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/10953

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10953
Committed: https://git.mahara.org/mahara/mahara/commit/5a5cf4b09335cd6a0085ff2f520d22ef51617c3c
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 5a5cf4b09335cd6a0085ff2f520d22ef51617c3c
Author: Robert Lyon <email address hidden>
Date: Mon May 4 09:07:29 2020 +1200

Bug 1876625: Using correct event name for bootstrap4

behatnotneeded

Change-Id: If49b0770bf2f61e17c0284dde8a637236205d9ea
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "20.04_STABLE" branch: https://reviews.mahara.org/10973

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "19.10_STABLE" branch: https://reviews.mahara.org/10974

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "19.04_STABLE" branch: https://reviews.mahara.org/10975

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10975
Committed: https://git.mahara.org/mahara/mahara/commit/61654ae47a6a10c0245c5944fa2742233f29edae
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE

commit 61654ae47a6a10c0245c5944fa2742233f29edae
Author: Robert Lyon <email address hidden>
Date: Mon May 4 09:07:29 2020 +1200

Bug 1876625: Using correct event name for bootstrap4

behatnotneeded

Change-Id: If49b0770bf2f61e17c0284dde8a637236205d9ea
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 5a5cf4b09335cd6a0085ff2f520d22ef51617c3c)

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/10973
Committed: https://git.mahara.org/mahara/mahara/commit/10dbbde30851763dca0f6505eef8a837cf04ad8a
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.04_STABLE

commit 10dbbde30851763dca0f6505eef8a837cf04ad8a
Author: Robert Lyon <email address hidden>
Date: Mon May 4 09:07:29 2020 +1200

Bug 1876625: Using correct event name for bootstrap4

behatnotneeded

Change-Id: If49b0770bf2f61e17c0284dde8a637236205d9ea
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 5a5cf4b09335cd6a0085ff2f520d22ef51617c3c)

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/10974
Committed: https://git.mahara.org/mahara/mahara/commit/c0b6d664f1708354ad95c7bfbec5aeeafa506da2
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.10_STABLE

commit c0b6d664f1708354ad95c7bfbec5aeeafa506da2
Author: Robert Lyon <email address hidden>
Date: Mon May 4 09:07:29 2020 +1200

Bug 1876625: Using correct event name for bootstrap4

behatnotneeded

Change-Id: If49b0770bf2f61e17c0284dde8a637236205d9ea
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 5a5cf4b09335cd6a0085ff2f520d22ef51617c3c)

Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :

hi robertl-9

There is still a bug when the user first selects the "Users have logged din since". It does not filter the users based on the default date that first appears (i.e. 6/8/2020 12:00 AM).

The user must change the date to something else, then change back to the default date (6/8/2020 12:00 AM). It then filters the users.

Is there a bug already raised for this?

Thanks,
Ghada

Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :

Please note, the same issue for "Users have not logged in since" selection.

Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :
Robert Lyon (robertl-9)
Changed in mahara:
milestone: 20.10.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.