From 8a058ac45e6ef5a4c7cd7141332b7951bc01f49c Mon Sep 17 00:00:00 2001 From: jwansek Date: Fri, 5 May 2023 15:58:07 +0100 Subject: Finished search bar, started adding
s for chart content --- database.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'database.py') diff --git a/database.py b/database.py index 53d755e..e368d02 100644 --- a/database.py +++ b/database.py @@ -212,8 +212,7 @@ class PayGapDatabase: with self.__connection.cursor() as cursor: cursor.execute(""" SELECT name, company_number FROM employer - WHERE name LIKE '%s' OR current_name LIKE '%s' - LIMIT 10; + WHERE name LIKE '%s' OR current_name LIKE '%s'; """ % ( self._wrap_percent(company_prefix), self._wrap_percent(company_prefix) -- cgit v1.2.3