Hi,
I use InventoryContact to load items like this:
Uri uri = InventoryContract.Item.contentUriWithAccount(CloverAccount.getAccount(getActivity())); String where = "name LIKE '%coca%'" CursorLoader loader = new CursorLoader(getActivity(), uri, null, where, null, null);
it was working fine, but recently it crashes
Caused by: android.database.sqlite.SQLiteException: ambiguous column name: name (code 1): , while compiling: SELECT price_without_vat, item_menu_item.description AS menu_description, alternate_name, default_tax_rates, code, cost, taxable, item_group_uuid, hidden, count, uuid, unit_name, modified_time, item_menu_item.enabled AS menu_enabled, price, item_menu_item.name AS menu_name, item_menu_item.reason_code AS menu_reason_code, item.name AS name, price_type, item._id AS _id, sku, is_revenue, item_menu_item.image_filename AS menu_image_filename, color_code FROM item LEFT OUTER JOIN item_menu_item ON item.uuid=item_menu_item.item_uuid WHERE ((name LIKE '%coca%'))
do you have any fix for this?