On 25 Jun 2012, at 22:14, Usman Bhatti wrote:
> Hello all,
>
> I construct a small browser in Glamour:
>
> | finder |
> finder := GLMFinder new.
> finder show: [:a |
> a tree
> title: 'Tree';
> filterOn: [:text :each | text first = each]].
> finder openOn: ($a to: $z).
>
> Now, I can enter a text and it allows me to filter the elements of the input list according to the input text.
> My question: Once I enter the query and my list get filtered, is there any way that I can return to my complete, unfiltered list? Hitting the return on empty search field does not execute the filter block. Is there a proper way to achieve the task of "un-filtering" or should I create some hack to allow the user to see the list of unfiltered elements?
>
> tx,
> Usman
> _______________________________________________