remove sort and limit in get_docs func|app/views.py