Templating for names and surnames

This commit is contained in:
Roman Krček
2025-07-12 22:01:05 +02:00
parent 308e70941f
commit a8f1b973e6
3 changed files with 52 additions and 9 deletions

View File

@@ -16,8 +16,6 @@ export interface Event {
export async function getEvents(supabase: SupabaseClient, searchTerm: string = '') {
try {
const searchPattern = searchTerm.trim() ? `%${searchTerm}%` : null;
console.log('Actually fetching!');
// Build regular events query
let regularQuery = supabase