Closed AdeBC closed 3 years ago
Change the behavior of get_page_info function in crud.py.
get_page_info
crud.py
def get_page_info(kind: str, page_size: int, page: int, db: Session, accession: str = None, search_text: str = None): if kind == 'amp': total_items = db.query(models.AMP.accession).count()
TODO
Change the behavior of
get_page_info
function incrud.py
.