Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82033

Need to use where in select box

$
0
0
Field::inst( 'subjects_d.SubjectID' )
            ->options( Options::inst()
                ->table( 'subjects' )
                ->value( 'ID' )
                ->label( 'Name' )
                ->where( 'Type', 1 )
            )
            ->validator( 'Validate::dbValues' ),
        Field::inst( 'subjects.Name' ),

Why where not work in options

->where( 'Type', 1 )


Viewing all articles
Browse latest Browse all 82033

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>