Skip to content

Commit

Permalink
JM | Fix: lagging when scrolling in registers #434
Browse files Browse the repository at this point in the history
Signed-off-by: James Maina <[email protected]>
  • Loading branch information
James Maina committed Apr 11, 2017
1 parent 106565f commit cfe2898
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public Map<String, String> getAllDetailsForClient(String baseEntityId) {
Map<String, String> clientDetails = new HashMap<String, String>();
try {
SQLiteDatabase db = masterRepository.getReadableDatabase();
String query = "SELECT * FROM " + TABLE_NAME + " WHERE " + BASE_ENTITY_ID_COLUMN + " = '"+baseEntityId+"'";
String query = "SELECT * FROM " + TABLE_NAME + " WHERE " + BASE_ENTITY_ID_COLUMN + " MATCH '\""+baseEntityId+"\"'";
cursor = db.rawQuery(query, null);
if (cursor != null && cursor.moveToFirst()){
do {
Expand Down

0 comments on commit cfe2898

Please sign in to comment.