Changeset 128 in bookmarks for trunk/bin/bkmk


Ignore:
Timestamp:
10/20/16 21:36:53 (8 years ago)
Author:
peter
Message:

bkmk list accepts and searches a text query.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/bkmk

    r124 r128  
    4848 
    4949    list => sub { 
     50        GetOptionsFromArray( 
     51            \@_, 
     52            'query|q=s' => \my $QUERY, 
     53        ); 
    5054        my @tags = @_; 
    5155        my $resources = $bookmarks->search({ 
    52                 tags => \@tags 
    53             }); 
     56            query => $QUERY, 
     57            tags  => \@tags 
     58        }); 
    5459        # TODO: list by tags, date, etc. 
    5560        # TODO: coordinate this commandline script with the CGI app 
Note: See TracChangeset for help on using the changeset viewer.