aboutsummaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-14 22:17:12 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-14 22:20:09 +0100
commit8818aa680c2ddaf1204e297fe27f088499eea74f (patch)
tree1888efcf1ffc138c848584058299454510544188 /app/models
parentc232356d490cefb44dd96b400961fe26a85ce183 (diff)
downloadoperum-8818aa680c2ddaf1204e297fe27f088499eea74f.tar.gz
operum-8818aa680c2ddaf1204e297fe27f088499eea74f.zip
Dropped redundant 'location' column
Looks like I messed up later on and kept two columns which were basically referring to the same thing. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/models')
-rw-r--r--app/models/thing.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/thing.rb b/app/models/thing.rb
index 5c758fb..1f1e4e4 100644
--- a/app/models/thing.rb
+++ b/app/models/thing.rb
@@ -23,7 +23,6 @@ class Thing < ApplicationRecord
.or(where('publisher LIKE ?', "%#{text}%"))
.or(where('address LIKE ?', "%#{text}%"))
.or(where('url LIKE ?', "%#{text}%"))
- .or(where('location LIKE ?', "%#{text}%"))
.or(where('insideof LIKE ?', "%#{text}%"))
.or(where('pages LIKE ?', "%#{text}%"))
.or(where('note LIKE ?', "%#{text}%"))