-
- Downloads
Rename activity search field from status_id to activity_status_id
Currently this is on the form as 'status_id' but as soon as it's submitted the value is renamed - I think we might not even need to change the smart group for this one. The other field that is being renamed is 'priority_id'. Unless we have an appetite to add a uniqueName for this field (which I kind of feel like not doing more of for some cycles), I think we could stop renaming it & rely on the default where handling for the where clause. From what I can see the reason for prefixing is not about uniqueness but rather about adding a prefix so it gets handled by Activity_BAO_Query - but in fact Contact_BAO_Query should handle it just fine based on metadata
Showing
- CRM/Activity/BAO/Query.php 6 additions, 10 deletionsCRM/Activity/BAO/Query.php
- CRM/Activity/Form/Search.php 2 additions, 2 deletionsCRM/Activity/Form/Search.php
- CRM/Contact/Form/Search/Advanced.php 0 additions, 2 deletionsCRM/Contact/Form/Search/Advanced.php
- CRM/Contact/Form/Search/Custom/ActivitySearch.php 6 additions, 1 deletionCRM/Contact/Form/Search/Custom/ActivitySearch.php
- CRM/Core/Form/Search.php 1 addition, 1 deletionCRM/Core/Form/Search.php
- templates/CRM/Activity/Form/Search/Common.tpl 2 additions, 2 deletionstemplates/CRM/Activity/Form/Search/Common.tpl
Loading
Please register or sign in to comment