Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] Fix reference_many field when value is [] #568

Merged
merged 2 commits into from
Jul 24, 2015
Merged

Conversation

jpetitcolas
Copy link
Contributor

Fixes #552

@@ -117,6 +117,9 @@
.targetEntity(tag)
.targetField(nga.field('name'))
.filters(function(search) {
if (!search) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return search ? { q: search } : null;

@jpetitcolas
Copy link
Contributor Author

Code review applied. Ready for merge.

fzaninotto added a commit that referenced this pull request Jul 24, 2015
[RFR] Fix reference_many field when value is []
@fzaninotto fzaninotto merged commit 265642a into master Jul 24, 2015
@fzaninotto fzaninotto deleted the many_field_bug branch July 24, 2015 07:56
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.

2 participants