Project

General

Profile

Actions

Bug #19621

closed

Search functionality broken on Mobile

Added by Sara Cannon 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Search
Target version:
Start date:
2024-01-29
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

On Mobile, when I open the hamburger menu and put in a search term, the results are "Page Not Found"


Files


Related issues

Related to CUNY Academic Commons - Bug #17850: Search not workingResolvedRaymond Hoh2023-03-19

Actions
Actions #1

Updated by Raymond Hoh 10 months ago

Actions #2

Updated by Raymond Hoh 10 months ago

  • Status changed from New to Resolved
  • Target version set to 2.3.2

Thanks for catching this bug, Sara!

I've just pushed a fix for mobile search in https://github.com/cuny-academic-commons/cac/commit/5127b0f8f2597c38d61252d7d55b1bb56e039f04 . The issue was caused by using the wrong form parameter when submitting the search request. Google Custom Search expects the 'q' parameter, but we were using 's', which is what WordPress uses. This is live on production.

Actions

Also available in: Atom PDF