Removing user column broke existing filters

I feel dirty
pull/253/head 4.7.2
Alex Baker 10 years ago
parent dc478b0950
commit 67bd538bd1

@ -5,8 +5,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.tasks"
android:versionName="4.7.1"
android:versionCode="337">
android:versionName="4.7.2"
android:versionCode="338">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> -->

@ -120,6 +120,8 @@ public class SavedFilter {
contentValues = AndroidUtilities.contentValuesFromSerializedString(values);
}
sql = sql.replace("tasks.userId=0", "1"); // TODO: replace dirty hack for missing column
return new Filter(title, title, sql, contentValues);
}

Loading…
Cancel
Save