Skip to content

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

@ccci-code

Description

@ccci-code

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions