Skip to content

Conversation

@SinergiaCRM
Copy link
Contributor

@SinergiaCRM SinergiaCRM commented Jun 16, 2022

The advance range options for filters in popup view isn't load properly

Description

This issue add this fix https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/400/custom-date-field-range-search-does-not-show-in-popup-search that allows advance filter to display in popup views.

Note:
There needs to be apply some CSS for the filters to display properly. I didn't know where to fit it in the code. I leave a suggestion here in case you guys can apply it in this or in other PR:

/* Fix range search in popup view */
form#popup_query_form { 
  .dateTimeRangeChoice select{
    display: block;
    width: 190px;
    margin-right: 60%;
  }
  .dateRangeInput {
    width: 30%;
  }
} 

Motivation and Context

Advance filters are important in any view

How To Test This

  • Activate the Advance range filter for birthdate field in Contacts and add it in the Popup Search view
  • Create a Call and select a Contact
  • In the popup for selecting Contacts check that the range filter appears in the birthdate datefield

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

@serhiisamko091184
Copy link
Contributor

Hello @SinergiaCRM ,
thank you for the contribution,
PR recreated with applied styling suggestion:
#10197

Thanks for your time and effort!

Regards,
Serhii

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Advance range filter isn't displayed in Popup views

2 participants