[SOLVED] [JS error will not allow module to submit searchword] Search module doesn't display results after upgrade

More
8 years 11 months ago #58416 by agata
I just tested it on a sandbox with the template changed to protostar and the behaviour is the same, that is when using the module you get redirected to the search page and the form on that page is pre-filled with the search word but results don't show and only when using the search page form the results appear. The only difference I noticed is that when using the module, the URL is /search?q=ss429&cc=p and when searching on the search page, it's /search?q=ss429&searchphrase=natural&cc=p
Agata

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #58448 by ggppdk
Hello

i still do not see the module to submit the search words !

the search menu item (search view) opens without the search phrase, the JS submit code fails

i will test without the submit button in case this is related, (you can enable submit button to see if it is related)

i have made this issue:
github.com/FLEXIcontent/flexicontent-cck/issues/365
v3.0.9 milestone , last issue of v3.0.9 ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #58452 by agata
Yes, I know the search page opens without the search phrase but it wasn't caused by the JS errors. Here's the sandbox running Protostar sandbox-spiral.wilddog.co.uk/ with the same issue even though the search term gets added to the URL.
Thanks,
Agata

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #58466 by ggppdk
Hello

i also see a problem with module, sometimes the search-areas are set wrongly,
causing the search view to think that there is nothing to search for

i have updated GitHub issue
will make a fix soon,

i think the above is your case (but you still need to fix the JS issue so that searchword submit)

the other JS problem :
TypeError: this.form.searchword is undefined

i ll fix it , but it is not reason the reason searchword (&q=) to be empty


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #58480 by ggppdk
Hello

i have fixed the issue with the search areas preventing the search view from returning any results
github.com/FLEXIcontent/flexicontent-cck/releases

this bug appear
- if you use the search module,
- and search areas are disable in the search menu item

if you resolve the JS error too, you should be done


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: agata

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #58486 by agata

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.293 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline