bugfix for fixed host/port

pull/1/head
Michael Peter Christen 10 years ago
parent d9d3111d10
commit dcfc384eee

@ -186,7 +186,7 @@
<script src="/js/morris.js"></script> <script src="/js/morris.js"></script>
<div id="graph" style="height:200px"></div> <div id="graph" style="height:200px"></div>
<script> <script>
var solr= $.getJSON("http://localhost:8090/solr/collection1/select?q=*:*&defType=edismax&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index", function(data) { var solr= $.getJSON("/solr/collection1/select?q=*:*&defType=edismax&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index", function(data) {
dates_in_content_dts = data.facet_counts.facet_fields.dates_in_content_dts; dates_in_content_dts = data.facet_counts.facet_fields.dates_in_content_dts;
var parsed = []; var parsed = [];
for (var i = 0; i < dates_in_content_dts.length; i = i + 2) { for (var i = 0; i < dates_in_content_dts.length; i = i + 2) {

@ -119,7 +119,7 @@ function updatepage(str) {
<script src="/js/morris.js"></script> <script src="/js/morris.js"></script>
<div id="graph" style="height:200px"></div> <div id="graph" style="height:200px"></div>
<script> <script>
var solr= $.getJSON("http://localhost:8090/solr/collection1/select?q=*:*&defType=edismax&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index", function(data) { var solr= $.getJSON("/solr/collection1/select?q=*:*&defType=edismax&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index", function(data) {
dates_in_content_dts = data.facet_counts.facet_fields.dates_in_content_dts; dates_in_content_dts = data.facet_counts.facet_fields.dates_in_content_dts;
var parsed = []; var parsed = [];
for (var i = 0; i < dates_in_content_dts.length; i = i + 2) { for (var i = 0; i < dates_in_content_dts.length; i = i + 2) {

Loading…
Cancel
Save