From 8818aa680c2ddaf1204e297fe27f088499eea74f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 14 Mar 2024 22:17:12 +0100 Subject: Dropped redundant 'location' column MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- app/models/thing.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/models/thing.rb') 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}%")) -- cgit v1.2.3