Needs review
Project:
Views JSON Query
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2018 at 12:54 UTC
Updated:
20 Oct 2020 at 13:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
herved commentedComment #3
herved commentedHere it is.
This simply uses a switch/case.
I also used drupal_strlen() instead of strlen() as recommended by phpcs.
Comment #4
herved commentedComment #5
rajesh kairamkonda commented@herved
Your patch is not working.
patching file views_json_query_plugin_query_json.inc
Hunk #1 FAILED at 67.
Hunk #2 FAILED at 252.
2 out of 2 hunks FAILED -- saving rejects to file views_json_query_plugin_query_json.inc.rej
Comment #6
herved commentedHello,
I'm guessing you are on the 7.x-1.0 release.
I just re-tested it, it does apply cleanly to the latest dev branch (7.x-1-x).
Comment #7
emersonreis.devAttaching patch for the 7.x-1.0 release.