Suitecrm: Search broken in 7.7.2?

Created on 24 Aug 2016  路  17Comments  路  Source: salesagility/SuiteCRM

Has somebody tested search in accounts and get a proper result? I don't.

Issue

Search in modules don't work as expected. A search is done but all records are beeing displayed. Only in the accounts module the search string is saved. In contacts and leads (others?) nothing is saved.

Expected Behavior

Search should only display the found records and the search string should be saved.

Actual Behavior

See above and the screenshot
search772

Possible Fix

Steps to Reproduce

  1. Clean install of 7.7.2
  2. Create 5 accounts
  3. Search in accounts module

Context

Your Environment

  • SuiteCRM Version used: 7.7.2
  • FF 48.0.1
  • PHP 5.6, Mysql 5.6
  • FreeBSD 10.2
Critical Bug

Most helpful comment

To fix this add $this->searchFields = $searchFields[$this->module]; on line 130 of include/SearchForm/SearchForm2.php

All 17 comments

Same problem here.

My environment:
PHP 7.0.5, Apache 2.4.18

To fix this add $this->searchFields = $searchFields[$this->module]; on line 130 of include/SearchForm/SearchForm2.php

Which file?

include/SearchForm/SearchForm2.php

sorry missed the filename

Thank you!
Works like a charm!

:+1:

I can also confirm the bug and the fix on a clean install of 7.2.2

I have the same issue. It worked fine with 7.2.1 and broke after upgrading to 7.2.2.

Bug real, fix real. Also was hoping this fix would take care of favorites search not working... no such luck.

The fix corrects the problem with no results, but custom modules in basic search return all rows.

Global (in basic) search return all rows too...

This is resolved in Release 7.7.3 Let us know if this needs to be re-opened.

Custom modules for me are still returning all rows in basic search

The basic & adv searches work for my custom modules on 7.7.3

Advanced searches work for me, but my custom module returns all rows in basic search. Could be my module-- someone else can verify if they also have the problem in basic search. I switched to advanced for now.

I picked this up in 7.7.2 and upgraded to 7.7.4, skipping 7.7.3, and the problem persists in basic and advanced searches for contacts/leads/targets (and possibly other places).

@samus-aran how do you let someone know this needs to be re-opened?

Was this page helpful?
0 / 5 - 0 ratings