mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 22:58:19 -05:00
fixed search defaults
This commit is contained in:
@@ -2,7 +2,12 @@
|
||||
from django_scopes import scopes_disabled
|
||||
|
||||
from django.db import migrations, models
|
||||
from cookbook.models import nameSearchField
|
||||
|
||||
from cookbook.models import SearchFields
|
||||
|
||||
|
||||
def nameSearchField():
|
||||
return [SearchFields.objects.get(name='Name').id]
|
||||
|
||||
|
||||
def add_default_trigram(apps, schema_editor):
|
||||
|
||||
Reference in New Issue
Block a user