[Bps-public-commit] App-Changeloggr branch, master, updated. c012e2a400b7940d9fb8da6ba2a6c9805c8d8dd3

sartak at bestpractical.com sartak at bestpractical.com
Fri May 22 14:51:48 EDT 2009


The branch, master has been updated
       via  c012e2a400b7940d9fb8da6ba2a6c9805c8d8dd3 (commit)
      from  3d4fbda33fdea292633488075fddab62c737dead (commit)

Summary of changes:
 lib/App/Changeloggr/Model/TagCollection.pm |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit c012e2a400b7940d9fb8da6ba2a6c9805c8d8dd3
Author: Shawn M Moore <sartak at gmail.com>
Date:   Fri May 22 14:51:34 2009 -0400

    Postgres implementation. Check out those backslashes!

diff --git a/lib/App/Changeloggr/Model/TagCollection.pm b/lib/App/Changeloggr/Model/TagCollection.pm
index 0cba1e9..9776302 100644
--- a/lib/App/Changeloggr/Model/TagCollection.pm
+++ b/lib/App/Changeloggr/Model/TagCollection.pm
@@ -16,8 +16,10 @@ sub limit_to_visible {
     }
     elsif ($self->_handle->isa('Jifty::DBI::Handle::Pg')) {
         $self->limit(
-            column => 'text',
-            # ...
+            column      => 'text',
+            operator    => 'NOT LIKE',
+            value       => q{E'\\\\_%'},
+            quote_value => 0,
         );
     }
     else {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list