First off, I am running Drupal 7 with the 7.x 2.6 version of Lightbox.

I am having some issues with the Ajax call that is made when the Lightbox is Activated.

The links provided below are to show the difference between what's supposed to be sent and what is getting sent. The site is secure and you will not be able to actually visit the page.

In my search feature, the parameters are placed in the URL:

https://www.mysite.com/search/node/Course OR GCO

This brings up the proper Search Page and Results. The link that is produced by Lightbox and added to the HREF of the TARGET is:

https://www.mysite.com/search/node/Course%20OR%20GCO

I have also jQuery'd this so that it reflects the actual URL in the Address bar and that doesn't work either.

So when my Lightbox is called from the link pointed at href="https://www.mysite.com/search/node/Course%20OR%20GCO" my Console is telling me that it's only loading "https://www.mysite.com/search/node/Course" instead, which only returns a search for "Course" instead of "Course" or "GCO".

Headers:
Referer:"https://www.mysite.com/search/node/Course%20OR%20GCO"
Request URL: "https://www.mysite.com/search/node/Course"
Request Method: "GET"

When looking at my Console, the Ajax call is clipping the URL at the first space, preventing the same page from being loaded, and the lightbox appears, but doesn't populate.

Where are spaces filtered out of/cut from the URL before the Ajax call is made, and how do I keep the spaces and everything after them?

These spaces are required for the search string to work.

Please let me know if you need more information from me.

Comments

mighty_webber created an issue. See original summary.

joseph.olstad’s picture

sounds like a configuration issue on the view

why not disable ajax on the view, what are you expecting to do?

Are you using an exposed filter of some kind on the view?

The use case is unclear for me.

joseph.olstad’s picture

Please try the patch in the parent issue, and report back.

joseph.olstad’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mighty_webber’s picture

Hello, my apologies for not getting back sooner. I fixed this issue using URL Aliases via the Path module and tweaking the settings in the Search module.