Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
fix: Check for "list.grouped."-prefix on handler
Browse files Browse the repository at this point in the history
  • Loading branch information
phorward committed Mar 27, 2023
1 parent 21d6145 commit 517c195
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file documents any relevant changes done to ViUR Vi since version 2.

## [3.0.32] - 2023-03-27

- Check on "list.grouped."-handler prefix as well

## [3.0.31] - 2023-01-24

- Styling fixes
Expand Down
2 changes: 1 addition & 1 deletion vi/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

vi_conf = {
# Vi version number
"vi.version": (3, 0, 31),
"vi.version": (3, 0, 32),
# ViUR server version number
"core.version": None,
"core.version.min": (3, 0, 0), # minimal core Version
Expand Down
3 changes: 2 additions & 1 deletion vi/widgets/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def __init__(self, module, filter=None, columns=None, filterID=None, filterDescr
myView = v
break

if conf["modules"][module]["handler"] == "list.grouped":
if conf["modules"][module]["handler"] == "list.grouped" \
or conf["modules"][module]["handler"].startswith("list.grouped."):
if "group" in kwargs and kwargs["group"]:
self.group = kwargs["group"]
else:
Expand Down

0 comments on commit 517c195

Please sign in to comment.