opencats / OpenCATS

Applicant Tracking System (maintained code base)
http://www.opencats.org
Other
535 stars 246 forks source link

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

Open ccci-code opened 6 months ago

ccci-code commented 6 months ago

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)