dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36527
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18681: User query, minor fix
------------------------------------------------------------
revno: 18681
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-03-24 21:38:04 +0100
message:
User query, minor fix
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java 2015-02-22 20:02:00 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java 2015-03-24 20:38:04 +0000
@@ -187,12 +187,12 @@
if ( params.getLastLogin() != null )
{
- query.setDate( "lastLogin", params.getLastLogin() );
+ query.setTimestamp( "lastLogin", params.getLastLogin() );
}
if ( params.getInactiveSince() != null )
{
- query.setDate( "inactiveSince", params.getInactiveSince() );
+ query.setTimestamp( "inactiveSince", params.getInactiveSince() );
}
if ( params.getOrganisationUnit() != null )