Remove source and source_key columns from JumpSQL

Refs https://github.com/simonw/datasette/pull/2732#issuecomment-4527290391
This commit is contained in:
Simon Willison 2026-05-23 20:41:32 -07:00
commit cef6aa85b6
6 changed files with 9 additions and 35 deletions

View file

@ -66,12 +66,10 @@ def jump_items_sql(datasette, actor, request):
label=label,
url=datasette.urls.path(path),
description=description,
source="datasette.default_debug_menu",
sort_key=70 + index,
search_text=f"debug {label} {description}",
item_type="debug",
)
for index, (path, label, description) in enumerate(DEBUG_MENU_ITEMS)
for path, label, description in DEBUG_MENU_ITEMS
]
return inner