Skip to content

Commit 183e1b0

Browse files
committed
-> Trying to sort out bucket bug
1 parent 3008d2e commit 183e1b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

idc_collections/collex_metadata_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ def get_table_data_with_cart_data(tabletype, sortarg, sortdir, current_filters,f
18311831
return [num_found, table_arr]
18321832

18331833

1834-
def get_cart_data_studylvl(filtergrp_list, partitions, limit, offset, length, mxseries,results_lvl='StudyInstanceUID', with_records=True, debug=False):
1834+
def get_cart_data_studylvl(filtergrp_list, partitions, limit, offset, length, mxseries, results_lvl='StudyInstanceUID', with_records=True, debug=False):
18351835
aggregate_level = "StudyInstanceUID"
18361836
versions=ImagingDataCommonsVersion.objects.filter(
18371837
active=True
@@ -1992,6 +1992,7 @@ def get_cart_data_studylvl(filtergrp_list, partitions, limit, offset, length, mx
19921992
if debug:
19931993
solr_result['response']['query_string'] = query_str
19941994
solr_result['response']['query_string_series_lvl'] = query_str_series_lvl
1995+
print(solr_result['response'])
19951996
return solr_result['response']
19961997

19971998

@@ -2206,7 +2207,6 @@ def get_cart_manifest(filtergrp_list, partitions, mxstudies, mxseries, field_lis
22062207
if 'total_SeriesInstanceUID' in solr_result:
22072208
manifest['total'] = solr_result['total_SeriesInstanceUID']
22082209
elif 'total' in solr_result:
2209-
22102210
manifest['total'] = solr_result['total']
22112211

22122212
if ('total_instance_size' in solr_result):

0 commit comments

Comments
 (0)