Tweak lookup

main
Thomas Sileo 2022-08-27 09:24:21 +02:00
parent e959085d38
commit 93e0d073a0
1 changed files with 3 additions and 1 deletions

View File

@ -122,7 +122,9 @@ async def get_lookup(
) )
if requested_object: if requested_object:
return RedirectResponse( return RedirectResponse(
request.url_for("admin_object") + f"?ap_id={ap_object.ap_id}", request.url_for("admin_object")
+ f"?ap_id={ap_object.ap_id}#"
+ requested_object.permalink_id,
status_code=302, status_code=302,
) )