angular-query-builder icon indicating copy to clipboard operation
angular-query-builder copied to clipboard

Moved operator inside of rules

Open ghost opened this issue 11 years ago • 2 comments

Hey, great work!

I am still working on this, but I think operator belongs inside of rule as well as in group if they are !$last.Then the user may change the operator without having to go back to add a new group.

  • Makes it more user friendly and readable to have the operator appear after a rule if the rule is !$last in the group.
  • Some rules will have an empty operator if they are single.
  • Changes the formation of the query a bit.
  • Make group into an array groups[]
  • Add group adds an element to this array
  • and/or between groups and and/or between rules

Maybe I'll fork when I have a solid version.

ghost avatar Sep 19 '14 13:09 ghost

Thanks, looking forward to see your fork!

mfauveau avatar Sep 19 '14 15:09 mfauveau

Hi thank you very much. Does it work with angular 1.3.7?

markodavid avatar Apr 21 '15 05:04 markodavid