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

Tag list field: accept an array of tags #2602

Merged
merged 2 commits into from
Jun 17, 2016
Merged

Tag list field: accept an array of tags #2602

merged 2 commits into from
Jun 17, 2016

Conversation

nilshoerrmann
Copy link
Contributor

While the tag list field always returned string (parameter pool) and array values (XML) in the output, it did only accept a string of tags on post. This commit extends the field to accept an array of tags as well which is helpful, if you are building a tag list widget on the front-end and would like to post back to the system.

This change is supposed to be backwards compatible (it doesn't change the behaviour for posted string values).

While the tag list field always returned string (parameter pool) and array values (XML) in the output, it did only accept a string of tags on post. This commit extends the field to accept an array of tags as well which is helpful, if you are building a tag list widget on the front-end and would like to post back to the system.

This change is supposed to be backwards compatible (it doesn't change the behaviour for posted string values).
@nitriques nitriques merged commit 7e9c94e into symphonycms:2.7.x Jun 17, 2016
nitriques added a commit that referenced this pull request Jun 17, 2016
The SQL generated by the code introduce in
786d1cc contained errors:

1. A superflous ' was present arount the $bit part twice
2. A opening parenthesis ( was missing at the start of the WHERE clause

Re #2602

Found when reviewing 7e9c94e
@nitriques
Copy link
Member

Thanks @nilshoerrmann ! Wanna test/review 0e299c6 too ? (it's in 2.7.x already!)

nitriques added a commit that referenced this pull request Jun 17, 2016
Removing code duplication

Re #2602
@nilshoerrmann
Copy link
Contributor Author

Thanks for merging!

@michael-e michael-e mentioned this pull request Jul 19, 2016
jensscherbl pushed a commit that referenced this pull request May 28, 2017
* Accept an array of tags 189b387

While the tag list field always returned string (parameter pool) and array values (XML) in the output, it did only accept a string of tags on post. This commit extends the field to accept an array of tags as well which is helpful, if you are building a tag list widget on the front-end and would like to post back to the system.

This change is supposed to be backwards compatible (it doesn't change the behaviour for posted string values).

* Fix whitespace 49a5200
jensscherbl pushed a commit that referenced this pull request May 28, 2017
The SQL generated by the code introduce in
786d1cc contained errors:

1. A superflous ' was present arount the $bit part twice
2. A opening parenthesis ( was missing at the start of the WHERE clause

Re #2602

Found when reviewing 7e9c94e
jensscherbl pushed a commit that referenced this pull request May 28, 2017
Removing code duplication

Re #2602
nitriques pushed a commit that referenced this pull request Jun 16, 2017
* Accept an array of tags 189b387

While the tag list field always returned string (parameter pool) and array values (XML) in the output, it did only accept a string of tags on post. This commit extends the field to accept an array of tags as well which is helpful, if you are building a tag list widget on the front-end and would like to post back to the system.

This change is supposed to be backwards compatible (it doesn't change the behaviour for posted string values).

* Fix whitespace 49a5200

Picked from 7e9c94e
nitriques added a commit that referenced this pull request Jun 16, 2017
The SQL generated by the code introduce in
786d1cc contained errors:

1. A superflous ' was present arount the $bit part twice
2. A opening parenthesis ( was missing at the start of the WHERE clause

Re #2602

Found when reviewing 7e9c94e

Picked from 0e299c6
nitriques added a commit that referenced this pull request Jun 16, 2017
Removing code duplication

Re #2602

Picked from 558b5d7
nitriques pushed a commit that referenced this pull request Jun 16, 2017
* Accept an array of tags 189b387

While the tag list field always returned string (parameter pool) and array values (XML) in the output, it did only accept a string of tags on post. This commit extends the field to accept an array of tags as well which is helpful, if you are building a tag list widget on the front-end and would like to post back to the system.

This change is supposed to be backwards compatible (it doesn't change the behaviour for posted string values).

* Fix whitespace 49a5200

Picked from 7e9c94e
nitriques added a commit that referenced this pull request Jun 16, 2017
The SQL generated by the code introduce in
786d1cc contained errors:

1. A superflous ' was present arount the $bit part twice
2. A opening parenthesis ( was missing at the start of the WHERE clause

Re #2602

Found when reviewing 7e9c94e

Picked from 0e299c6
nitriques added a commit that referenced this pull request Jun 16, 2017
Removing code duplication

Re #2602

Picked from 558b5d7
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.

None yet

2 participants