Skip to content

Commit

Permalink
Fixes and pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrosekim committed Aug 17, 2021
1 parent a5e4d85 commit 8c1fd04
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
5 changes: 3 additions & 2 deletions html/ltr/epr-subcounty.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ <h5 id="ttitle"></h5>
var ouid = "HfVjCurKxh2" //"st4v8xfqgJf"; // default Org unit


var url = `https://hiskenya.org/api/26/analytics.json?dimension=dx:Ak6JvvdNbSB&dimension=ou:LEVEL-3;${ouid}&dimension=pe:LAST_52_WEEKS&displayProperty=NAME&outputIdScheme=UID`
var url = `https://hiskenya.org/api/analytics.json?dimension=dx:Ak6JvvdNbSB&dimension=ou:LEVEL-3;${ouid}&dimension=pe:LAST_52_WEEKS&displayProperty=NAME&outputIdScheme=UID`

getEPR(url, ouid);
});
Expand Down Expand Up @@ -448,7 +448,8 @@ <h5 id="ttitle"></h5>

$("#county-dropdown").change(function() {
ounit = $(this).val();
getEPR(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Ak6JvvdNbSB&dimension=ou:LEVEL-3;${ounit}&dimension=pe:LAST_52_WEEKS&displayProperty=NAME&outputIdScheme=UID`,ounit)
getEPR(`https://hiskenya.org/api/analytics.json?dimension=dx:Ak6JvvdNbSB&dimension=ou:LEVEL-3;${ounit}&dimension=pe:LAST_52_WEEKS&displayProperty=NAME&outputIdScheme=UID`,ounit)
getEPR(`https://hiskenya.org/api/analytics.json?dimension=dx:Ak6JvvdNbSB&dimension=ou:LEVEL-3;${ounit}&dimension=pe:LAST_52_WEEKS&displayProperty=NAME&outputIdScheme=UID`,ounit)
})
</script>

Expand Down
Loading

0 comments on commit 8c1fd04

Please sign in to comment.