Skip to content

Commit

Permalink
Updated LeadCategoryType field to get all the categories in global an…
Browse files Browse the repository at this point in the history
…d email.
  • Loading branch information
shinde-rahul committed Jan 2, 2023
1 parent 1949b28 commit cbfc8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bundles/LeadBundle/Form/Type/LeadCategoryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults([
'choices' => function (Options $options) {
$categories = $this->categoryModel->getLookupResults('global');
$categories = $this->categoryModel->getLookupResults('email', '', 0);
$choices = [];

foreach ($categories as $cat) {
Expand Down

0 comments on commit cbfc8b1

Please sign in to comment.