Dear all,
I just solved that bug in WebGrid, which degraded a WebGrid buildup
sometimes quite extentialy . WebGrid namely did filtering always, even
that there were nothing inserted in filter fields.
Fix is as follows:
Add new method:
WebGridColumn>>isFilterEntered
"filter criteria is entered"
^self filter notNil and: [self filter trimBlanks notEmpty].
Change method:
WebGrid>>filterRows
| columnsToFilter |
columnsToFilter := self columns select: [:each | each isFilterEntered].
...
Best regards
Janko
--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida