The initial motivation for this was to make the "more_after_limit" feature, which would help the UI to not show a next page button when the number of results was exactly equal to the limit. However, in order to surface this more_after_limit status using only the old search generator, it would have to be a special yield at the end. I was getting tired of the special yields like give_back_params at the beginning and warning_bag at the end, and this would be worse. There is a lot of sideband information about the search that is now more easily accessible when the search is its own object. |
||
|---|---|---|
| .. | ||
| backend | ||
| static | ||
| templates | ||
| __init__.py | ||
| etiquette_flask_dev.py | ||
| etiquette_flask_prod.py | ||