export default (app) => {
    class SceneService {
        constructor($resource) {
            'ngInject';

            this.Scene = $resource(
                '/api/scenes/:id/', {
                    id: '@properties.id'
                }, {
                    query: {
                        method: 'GET',
                        cache: false
                    },
                    get: {
                        method: 'GET',
                        cache: false
                    }
                }
            );
        }

        query(params = {}) {
            return this.Scene.query(params).$promise;
        }

        getSceneBounds(scene) {
            let boundsGeoJson = L.geoJSON();
            boundsGeoJson.addData(scene.dataFootprint);
            return boundsGeoJson.getBounds();
        }
    }

    app.service('sceneService', SceneService);
};

@@ -560,24 +560,189 @@
 ams = %7B%7D) %7B%0A
+            let validParams = Object.assign(%0A                params,%0A                %7BminCloudCover: params.minCloudCover ? params.minCloudCover : 0%7D%0A            );%0A
             
@@ -761,25 +761,30 @@
 Scene.query(
-p
+validP
 arams).$prom

Set minCloudCover to zero if it's absent from scene query