Skip to content

Commit

Permalink
Merge pull request #6160 from jwj61/detindex
Browse files Browse the repository at this point in the history
Deal with empty search
  • Loading branch information
AndrewVSutherland authored Aug 22, 2024
2 parents 5739828 + a9c0ccf commit 6f9bec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lmfdb/modl_galois_representations/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def index():
@modlgal_page.route("/Q/")
def index_Q():
info = to_dict(request.args, search_array=ModLGalRepSearchArray())
if len(info) > 1:
if request.args:
return modlgal_search(info)
title = r"Mod-$\ell$ Galois representations"
codomains = ["GL,1,2,1","GL,2,2,1","GL,2,3,1","GL,2,5,1","GSp,4,2,1"]
Expand Down
4 changes: 3 additions & 1 deletion lmfdb/modl_galois_representations/web_modlgal.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ def image_pretty_with_abstract(image_label, is_surjective, algebraic_group, dime
s = _codomain(algebraic_group, dimension, base_ring_order, base_ring_is_field)
if is_surjective:
return "$" + s + "$"
if dimension==1:
return image_label
t = display_knowl('gl2.subgroup_data', title=image_label, kwargs={'label':image_label}) if dimension == 2 else image_label
if image_abstract_group:
t += r"$\ \cong$ "+ abstract_group_display_knowl(image_abstract_group)
t += r" $\ \cong$ "+ abstract_group_display_knowl(image_abstract_group)
return t

def rep_pretty(algebraic_group, dimension, base_ring_order, base_ring_is_field):
Expand Down

0 comments on commit 6f9bec2

Please sign in to comment.