Changeset 8726


Ignore:
Timestamp:
25/02/13 20:58:43 (6 years ago)
Author:
mnagni
Message:

Incomplete - # 22576: Filtering on Files in a particular Result returns all Files rather than a subset.
 http://team.ceda.ac.uk/trac/ceda/ticket/22576

Fixes a bug when fatcatOS returns an empty result

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/HPFos/trunk/hpfos/HPFos/osImpl/myimpl.py

    r8721 r8726  
    255255        subresults = filter_results(instances, count, start_index, start_page) 
    256256         
    257         if (type(instances) == list \ 
     257        if (type(instances) == list and len(instances) > 0 \ 
    258258                and type(instances[0]) == CEDA_ObservationCollection) \ 
    259259            or (type(instances) == InstrumentedList \ 
Note: See TracChangeset for help on using the changeset viewer.