Description
When selecting a company from the UI, if the company core name is not stored in UPPERCASE in the database, the functionality doesn't work properly in the UI.
Steps to reproduce
- Go to peviitor.ro
- Search for a company
- Select a company from the results
- The company profile may show 0 positions or not work correctly
Root cause
The API requires the company name to be in UPPERCASE for the search to work correctly. When the company core name is stored in lowercase or mixed case, the API fails to find the company.
Expected behavior
The API should normalize company names to UPPERCASE when searching, regardless of how they are stored in the database/SOLR.
Solution needed
Ensure the API always uses UPPERCASE when querying company names, or normalize the company name before performing the search.
Description
When selecting a company from the UI, if the company core name is not stored in UPPERCASE in the database, the functionality doesn't work properly in the UI.
Steps to reproduce
Root cause
The API requires the company name to be in UPPERCASE for the search to work correctly. When the company core name is stored in lowercase or mixed case, the API fails to find the company.
Expected behavior
The API should normalize company names to UPPERCASE when searching, regardless of how they are stored in the database/SOLR.
Solution needed
Ensure the API always uses UPPERCASE when querying company names, or normalize the company name before performing the search.