mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Fixed bug in <RowValueFilter> update
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
7.41.03
|
||||||
|
|
||||||
|
Fixed bug in the following:
|
||||||
|
Added the following to `<RowValueFilter>` used in CSV input/output row filtering; these are
|
||||||
|
synonyms for `count` and `countrange`.
|
||||||
|
```
|
||||||
|
[(any|all):]number<Operator><Number>|
|
||||||
|
[(any|all):]numberrange!=<Number>/<Number>|
|
||||||
|
[(any|all):]numberrange=<Number>/<Number>|
|
||||||
|
```
|
||||||
|
|
||||||
7.41.02
|
7.41.02
|
||||||
|
|
||||||
Added option `ownername` to `gam info|print courses` to have GAM display the course owners full name;
|
Added option `ownername` to `gam info|print courses` to have GAM display the course owners full name;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
||||||
__version__ = '7.41.02'
|
__version__ = '7.41.03'
|
||||||
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
# pylint: disable=wrong-import-position
|
# pylint: disable=wrong-import-position
|
||||||
@@ -7837,10 +7837,10 @@ def RowFilterMatch(row, titlesList, rowFilter, rowFilterModeAll, rowDropFilter,
|
|||||||
elif filterVal[2] == 'timeofdayrange':
|
elif filterVal[2] == 'timeofdayrange':
|
||||||
if rowTimeOfDayRangeFilterMatch(filterVal[3], filterVal[4], filterVal[5]):
|
if rowTimeOfDayRangeFilterMatch(filterVal[3], filterVal[4], filterVal[5]):
|
||||||
return True
|
return True
|
||||||
elif filterVal[2] == 'count':
|
elif filterVal[2] in {'count', 'number'}:
|
||||||
if rowCountFilterMatch(filterVal[3], filterVal[4]):
|
if rowCountFilterMatch(filterVal[3], filterVal[4]):
|
||||||
return True
|
return True
|
||||||
elif filterVal[2] == 'countrange':
|
elif filterVal[2] in {'countrange', 'numberrange'}:
|
||||||
if rowCountRangeFilterMatch(filterVal[3], filterVal[4], filterVal[5]):
|
if rowCountRangeFilterMatch(filterVal[3], filterVal[4], filterVal[5]):
|
||||||
return True
|
return True
|
||||||
elif filterVal[2] == 'length':
|
elif filterVal[2] == 'length':
|
||||||
|
|||||||
Reference in New Issue
Block a user