Unpublish functionality and view are working completely.