Tables.order_by of a given search

The order_by clause must be a parameter in the call to search:

  ... = app_tables.arte.search(
    tables.order_by(“Title”),
    Author=q.full_text_match(input)
)

so postpone that call until you know what all its parameters will be.

4 Likes