chicks / sugarcrm

A ruby based REST Client for SugarCRM
MIT License
90 stars 64 forks source link

Base.count not working for custom fields #42

Closed davidsulc closed 12 years ago

davidsulc commented 13 years ago

Always returns 0 when conditions are given on custom attributes. Gem will raise an error instead of returning erroneous results.

Work around: use Base.all(...).size (i.e. query all results and count them).

Issue documented with SugarCRM as bug 43339

davidsulc commented 12 years ago

FYI:

Ran Zhou has updated a bug:

Bug Number: 43339 Subject: get_entries_count doesn't work with custom fields Priority: Medium Status: Assigned Type: Defect *Fixed in Release: _6.4.0.patch