diff --git a/demo/demodesk/config/settings.py b/demo/demodesk/config/settings.py index 409cdf1d..14c54876 100644 --- a/demo/demodesk/config/settings.py +++ b/demo/demodesk/config/settings.py @@ -104,6 +104,8 @@ HELPDESK_REDIRECT_TO_LOGIN_BY_DEFAULT = False LOGIN_URL = '/login/' LOGIN_REDIRECT_URL = '/login/' +# Turn off server-side processing for this local demo +HELPDESK_USE_SERVERSIDE_PROCESSING = False # Database # - by default, we use SQLite3 for the demo, but you can also diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 75b5ec0d..4a7c56dd 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -926,8 +926,8 @@ def ticket_list(request): user_saved_queries = SavedSearch.objects.filter(Q(user=request.user) | Q(shared__exact=True)) # Serverside processing on datatables is optional. Set - # USE_SERVERSIDE_PROCESSING to False in settings.py to disable - if helpdesk_settings.USE_SERVERSIDE_PROCESSING: + # HELPDESK_USE_SERVERSIDE_PROCESSING to False in settings.py to disable + if helpdesk_settings.HELPDESK_USE_SERVERSIDE_PROCESSING: cache.set('ticket_qs', ticket_qs) context['server_side'] = True else: