Skip to content

Instantly share code, notes, and snippets.

@smeghead
Created March 11, 2011 12:55
Show Gist options
  • Save smeghead/865849 to your computer and use it in GitHub Desktop.
Save smeghead/865849 to your computer and use it in GitHub Desktop.
AnyEvent::Groongaのfilter指定対応
--- Groonga.pm.org 2011-03-11 20:15:01.338191132 +0800
+++ Groonga.pm 2011-03-11 20:25:53.498125146 +0800
@@ -221,7 +221,7 @@
if ( $command eq 'load' && $key eq 'values' ) {
$value = $self->_load_filter($value);
}
- elsif ( $command eq 'select' && $key eq 'query' ) {
+ elsif ( $command eq 'select' && ($key eq 'query' || $key eq 'filter')) {
$value = $self->_select_filter($value);
}
elsif ( ref $value eq 'ARRAY' ) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment