Open averbraeck opened 3 days ago
The code that will retrieve the correct table data is:
setPickTable(data, Tables.MEASURETYPE.join(Tables.MEASURECATEGORY)
.on(Tables.MEASURETYPE.MEASURECATEGORY_ID.eq(Tables.MEASURECATEGORY.ID))
.and(Tables.MEASURECATEGORY.GAMEVERSION_ID.eq(gameVersion.getId()))
.and(Tables.MEASURETYPE.HOUSE_MEASURE.ne((byte) 0)),
Tables.MEASURETYPE.ID, Tables.MEASURETYPE.NAME)
The table for editing house measures in the admin app does not yet filter out the personal measures. The selection does work, however:
Furthermore, it seems that a 'null' option is allowed in the picklist. This has to be researched.