<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:robert@familiegrosskopf.de" title="robert@familiegrosskopf.de">robert@familiegrosskopf.de</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Option buttons in forms do not show current value if it is boolean"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121652">bug 121652</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>robert@familiegrosskopf.de
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Option buttons in forms do not show current value if it is boolean"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121652#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Option buttons in forms do not show current value if it is boolean"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121652">bug 121652</a>
              from <span class="vcard"><a class="email" href="mailto:robert@familiegrosskopf.de" title="robert@familiegrosskopf.de">robert@familiegrosskopf.de</a>
</span></b>
        <pre>Seems this is the reason:
-----
3c. On third step assign 0 (or FALSE) to one option, 1 (or TRUE) to the other
option.
-----
Isn't the same for the field. If you set it to 'true' (lower cased) and 'false'
(also lower cased) it will work right.

The checkbox for boolean field works the same way. If you set the values here
to 1 and 0 it won't show 'true' content.

Don't know why it isn't implemented, because it works well in queries. But the
values shown by the queries in Tools > SQL will show with
SELECT * FROM "demo" where "boolean" = 1
Output: 
0,true,1,1,
2,true,0,1,

I will confirm the bug, but it will work right with the value queries return
for the boolean fields.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>