[MOD] query to get location from selected item