Based on the D7 story here https://www.drupal.org/node/1803758

Possible fix:
Check for the existence of drupalSettings.path.pathPrefix and prepends it to viewPath in js/base.js

 Drupal.Views.parseViewArgs = function (href, viewPath) {

+  // Provide language prefix.
+  if (drupalSettings.path.pathPrefix) {
+    var viewPath = drupalSettings.path.pathPrefix + viewPath;
+  }
   var returnObj = {};
   var path = Drupal.Views.getPath(href);
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

D4K0 created an issue. See original summary.

D4K0’s picture

Issue summary: View changes
D4K0’s picture

Status: Active » Needs review
FileSize
845 bytes

Attached patch checks for the existence of drupalSettings.path.pathPrefix and prepends it to viewPath.

Lendude’s picture

Project: Views (for Drupal 7) » Drupal core
Version: 8.x-3.x-dev » 8.0.x-dev
Component: Code » views.module
Priority: Major » Normal
Status: Needs review » Needs work
Issue tags: -i18n views +VDC, +Needs manual testing

Moving to the right queue.

The patch in #3 doesn't apply. Could you create a patch with the steps described in https://www.drupal.org/node/707484?

xjm’s picture

Status: Needs work » Closed (duplicate)