Skip to content

Commit

Permalink
Fixed #1003 -- Applying DavidS's patch to fix searching for
Browse files Browse the repository at this point in the history
tags in sql.
  • Loading branch information
lak committed Feb 13, 2008
1 parent 9b1bfc1 commit fe02591
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Fixed #1003 -- Applying DavidS's patch to fix searching for
tags in sql.

Fixed #992 -- Puppet is now compatible with gems 1.0.1.

Fixed #968 again, this time with tests -- parseonly works,
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/parser/collector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def build_active_record_query
search = "(exported=? AND restype=?)"
values = [true, @type]

search += " AND (?)" and values << @equery if @equery
search += " AND (%s)" % @equery if @equery

# We're going to collect objects from rails, but we don't want any
# objects from this host.
Expand Down

0 comments on commit fe02591

Please sign in to comment.