From e56b56612f6225d254d5898a51bdd10ce0c6c7ed Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sun, 26 Apr 2026 19:11:06 -0700 Subject: [PATCH] Fixed bug in `` update --- src/GamUpdate.txt | 11 +++++++++++ src/gam/__init__.py | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index e2a3d53f..019d00d6 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,14 @@ +7.41.03 + +Fixed bug in the following: +Added the following to `` used in CSV input/output row filtering; these are +synonyms for `count` and `countrange`. +``` +[(any|all):]number| +[(any|all):]numberrange!=/| +[(any|all):]numberrange=/| +``` + 7.41.02 Added option `ownername` to `gam info|print courses` to have GAM display the course owners full name; diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 22f9daf9..ade38e6b 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki """ __author__ = 'GAM Team ' -__version__ = '7.41.02' +__version__ = '7.41.03' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' # pylint: disable=wrong-import-position @@ -7837,10 +7837,10 @@ def RowFilterMatch(row, titlesList, rowFilter, rowFilterModeAll, rowDropFilter, elif filterVal[2] == 'timeofdayrange': if rowTimeOfDayRangeFilterMatch(filterVal[3], filterVal[4], filterVal[5]): return True - elif filterVal[2] == 'count': + elif filterVal[2] in {'count', 'number'}: if rowCountFilterMatch(filterVal[3], filterVal[4]): return True - elif filterVal[2] == 'countrange': + elif filterVal[2] in {'countrange', 'numberrange'}: if rowCountRangeFilterMatch(filterVal[3], filterVal[4], filterVal[5]): return True elif filterVal[2] == 'length':