mirror of
https://github.com/simonw/datasette.git
synced 2026-10-07 18:06:59 +02:00
top_canned_query is now top_stored_query, closes #2747
This commit is contained in:
parent
4bf1c4b065
commit
b1029acc68
6 changed files with 15 additions and 12 deletions
|
|
@ -10,6 +10,7 @@ Unreleased
|
|||
----------
|
||||
|
||||
- Fixed a bug where visiting ``/<database>/-/query`` without a ``?sql=`` parameter returned a 500 error. (:issue:`2743`)
|
||||
- The ``top_canned_query()`` plugin hook has been renamed to :ref:`top_stored_query() <plugin_hook_top_stored_query>`. (:issue:`2747`)
|
||||
|
||||
.. _v1_0_a30:
|
||||
|
||||
|
|
|
|||
|
|
@ -2279,9 +2279,9 @@ top_query(datasette, request, database, sql)
|
|||
|
||||
Returns HTML to be displayed at the top of the query results page.
|
||||
|
||||
.. _plugin_hook_top_canned_query:
|
||||
.. _plugin_hook_top_stored_query:
|
||||
|
||||
top_canned_query(datasette, request, database, query_name)
|
||||
top_stored_query(datasette, request, database, query_name)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
``datasette`` - :ref:`internals_datasette`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue