adding the draggableviews patch to fix the empty join clause