Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing searchByCity in modules/candidates/CandidatesUI.php #654

Open
ccci-code opened this issue May 29, 2024 · 0 comments
Open

Missing searchByCity in modules/candidates/CandidatesUI.php #654

ccci-code opened this issue May 29, 2024 · 0 comments

Comments

@ccci-code
Copy link

Expected behavior and actual behavior.

Search by city should return valid results. Insteads returns an error about a missing mode

Steps to reproduce the problem.

Select City in dropdown in Candidate search page and enter a city.

What version of opencats are you running?

0.9.7.4

Release or downloaded from Git?

Git

WAMP or LAMP?

What version of PHP and MySQL are you running

attach appropriate error logs. Please attach [apache/mysql] error/access logs as needed.

Need to add the following around line 2109 in CandidatesUI.php

            case 'searchByCity':
                $rs = $search->byCity($query, $sortBy, $sortDirection);
                (process  results here the same as other queries)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant