chrismattmann closed pull request #161: Fix for licence count not working URL: https://github.com/apache/drat/pull/161
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue b/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue index 98cb216e..273953f1 100644 --- a/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue +++ b/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue @@ -308,7 +308,7 @@ import store from './../store/store'; loadLicenseData(){ axios.get(this.origin+"/solr/statistics/select?q=id:\""+this.selectedItem.repo+"\"&fl=license_*&wt=json") .then(response2=>{ - if(response2.response.data.numFound!=null){ + if(response2.data.response.numFound!=null){ axios.get(this.origin+"/solr/statistics/select?q=id:\""+this.selectedItem.repo+"\"&fl=license_*&rows="+response2.data.response.numFound+"&wt=json") .then(response=>{ this.$log.info(response.data); ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services