aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-16 18:05:16 +0100
committerJochen Topf <jochen@topf.org>2013-01-16 18:05:16 +0100
commitcf7ca9decafac572f4f1025a0e298e16b0011d22 (patch)
tree35589b050183871addd15dc6f694c6c0ee559c54 /web
parente18f146bf041d565ff9b40dad7f55cf69a9a025d (diff)
downloadtaginfo-cf7ca9decafac572f4f1025a0e298e16b0011d22.tar
taginfo-cf7ca9decafac572f4f1025a0e298e16b0011d22.tar.gz
Bugfix: Fix search
Diffstat (limited to 'web')
-rw-r--r--web/lib/sql.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/sql.rb b/web/lib/sql.rb
index 7240f05..29fb1b7 100644
--- a/web/lib/sql.rb
+++ b/web/lib/sql.rb
@@ -37,6 +37,7 @@ module SQL
Source.each do |source|
@db.execute("ATTACH DATABASE ? AS ?", "#{ @@dir }/#{ source.dbname }", source.id.to_s)
end
+ @db.execute("ATTACH DATABASE ? AS search", "#{ @@dir }/taginfo-search.db")
self
end