diff --git a/omeroweb/webgateway/urls.py b/omeroweb/webgateway/urls.py index 7b519d97eb..46cf584a28 100644 --- a/omeroweb/webgateway/urls.py +++ b/omeroweb/webgateway/urls.py @@ -604,10 +604,10 @@ """ -perform_get_where_list = re_path( +table_get_where_list = re_path( r"^table/(?P\d+)/rows/$", - views.perform_get_where_list, - name="webgateway_perform_get_where_list", + views.table_get_where_list, + name="webgateway_table_get_where_list", kwargs=COMPACT_JSON, ) """ @@ -615,10 +615,10 @@ """ -perform_slice = re_path( +table_slice = re_path( r"^table/(?P\d+)/slice/$", - views.perform_slice, - name="webgateway_perform_slice", + views.table_slice, + name="webgateway_table_slice", kwargs=COMPACT_JSON, ) """ @@ -684,6 +684,6 @@ object_table_query, open_with_options, # low-level table API - perform_get_where_list, - perform_slice, + table_get_where_list, + table_slice, ] diff --git a/omeroweb/webgateway/views.py b/omeroweb/webgateway/views.py index 0831111202..bf6e2db295 100644 --- a/omeroweb/webgateway/views.py +++ b/omeroweb/webgateway/views.py @@ -3478,7 +3478,7 @@ def get_image_rdefs_json(request, img_id=None, conn=None, **kwargs): @login_required() @jsonp -def perform_get_where_list(request, fileid, conn=None, **kwargs): +def table_get_where_list(request, fileid, conn=None, **kwargs): """ Retrieves matching row numbers for a table query @@ -3549,7 +3549,7 @@ def perform_get_where_list(request, fileid, conn=None, **kwargs): @login_required() @jsonp -def perform_slice(request, fileid, conn=None, **kwargs): +def table_slice(request, fileid, conn=None, **kwargs): """ Performs a table slice