thelabdude commented on a change in pull request #436:
URL: https://github.com/apache/solr/pull/436#discussion_r770007059



##########
File path: solr/webapp/web/js/angular/controllers/query.js
##########
@@ -176,18 +183,21 @@ solrAdminApp.controller('QueryController',
       if( $scope.qt != null ) {
         adminParams.qt = [$scope.qt];
       }
-
-      Query.query(params, function(data) {
-        $scope.lang = $scope.val['wt'];
-        if ($scope.lang == undefined || $scope.lang == '') {
-          $scope.lang = "json";
-        }
-        $scope.response = data;
-        // Use relative URL to make it also work through proxies that may have 
a different host/port/context
-        $scope.url = url;
-        $scope.hostPortContext = 
$location.absUrl().substr(0,$location.absUrl().indexOf("#")); // For display 
only
+      if (isPageReload) {

Review comment:
       awesome! good fix here




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to