#3665 (is_blank / is_null value for simple fk param values.)

by tonis · in Developers · assigned to tonis

Résumé

For CommentsByRFC I want to render the data using nested slave tables / lino-layouts.

This works, however it's rendering comments many times over, as each child of a comment rendered in the root as well as in the slave tables of each reply.

Concepts sous-jacents

Commentaires

  • 6 ans, 5 mois ago by Luc Saffre about #3665 (is_blank / is_null value for simple fk param values.) : My summary of this ticket (as I just realized): For simple parameters we have two possibilities at the moment : (1) empty (i.e. no filtering) or (2) set to some value (i.e. show only rows having that value). But there are more possibilities : e.g. you want to say "is empty" or "is not empty". Until ...
  • 6 ans, 5 mois ago by tonis about #3665 (is_blank / is_null value for simple fk param values.) : Got a basic prototype. However the constant BLANKVALUE sent to the server is being removed somewhere by some method validating the values I assume. Can't seem to find it. Think I need a quick session with Luc
  • 6 ans, 5 mois ago by tonis about #3665 (is_blank / is_null value for simple fk param values.) : Got some working logic in place that adds a blank and not blank value for the combo box in a pv layout.
    Now to get the filtering working....
  • 6 ans, 5 mois ago by tonis about #3665 (is_blank / is_null value for simple fk param values.) : Not 100% sure what the best way to go about this is. thinking:
    There should perhaps be an option in the model field for allow_filter_is_blank.
    Going to dive in from the choices view and see if I can see what a good place to put new code would be. @luc give me a call at some point to talk about thi...