Hooray for pager working now.
This commit is contained in:
parent
52bd0d4c91
commit
8100d221a1
5 changed files with 186 additions and 119 deletions
|
|
@ -120,7 +120,7 @@ def make_fragments_blueprint(db_session_factory, registry: Dict[str, Any], *, na
|
|||
s = session(); svc = CrudService(s, default_eager_policy)
|
||||
rows, _ = svc.list(Model, spec)
|
||||
|
||||
html = render_template("crudkit/rows.html", items=rows, fields=fields, getp=_getp)
|
||||
html = render_template("crudkit/rows.html", items=rows, fields=fields, getp=_getp, model=model)
|
||||
|
||||
return html
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue