"""
OPAL core search package
"""
from opal.core.search import urls
from opal.core import plugins


from opal.core import celery  # NOQA


class SearchPlugin(plugins.OpalPlugin):
    """
    The plugin entrypoint for OPAL's core search functionality
    """
    urls = urls.urlpatterns
    javascripts = {
        'opal.services': [
            'js/search/services/filter.js',
            'js/search/services/filters_loader.js',
            'js/search/services/filter_resource.js',
            "js/search/services/paginator.js",
        ],
        'opal.controllers': [
            'js/search/controllers/search.js',
            'js/search/controllers/extract.js',
            "js/search/controllers/save_filter.js",
        ]
    }

plugins.register(SearchPlugin)

"""
OPAL core search package
"""
from opal.core import celery  # NOQA
from opal.core.search import plugin

Move Opal.core.search plugin into a plugins.py ahead of full plugin 2.0 refactor
Move Opal.core.search plugin into a plugins.py ahead of full plugin 2.0 refactor
