Jump to content

adding "where" to select statement in AdminController


Recommended Posts

In the AdminController, there are in the construct() lines for a database statement builder. I see there columns in the property "_select", Joins and so on.

Where can I add a "Where" to have just a certain range to be displayed everywhere? I want that old orders less than an id_order are NOT loaded in the order area like they would not exist. Of course I will take care to add it clean (override or something), but for now it's interesting for me if there would be a property like "where" to add it there.

Thanks in advance :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...