The Grid View below lists all invoice lines of the database. All fields are searcheable, and can be sorted.

The implementation is very easy with RelatedSearchBehavior. Check out the 'Invoiceline' model to see how it is done.

In the left corner above you may have access to debug functionnality. Click on "DB Query" to see the SQL queries, and specifically the search query near the end.

The database is open source from http://chinookdatabase.codeplex.com The schema is shown further below.

Displaying 1-4 of 2240 results.
InvoiceTrack NameComposerUnit PriceAlbum TitleArtistMedia TypeGenreLast NameFirst NameSupport Last NameSupport First NameSupport PhoneSupport Email
1Balls to the Wall 0.99Balls to the WallAcceptProtected AAC audio fileRockKöhlerLeonieJohnsonSteve1 (780) 836-9987steve@chinookcorp.com
1Restless and WildF. Baltes, R.A. Smith-Diesel, S. Kaufman, U. Dirkscneider & W. Hoffman0.99Restless and WildAcceptProtected AAC audio fileRockKöhlerLeonieJohnsonSteve1 (780) 836-9987steve@chinookcorp.com
4Right Through YouAlanis Morissette & Glenn Ballard0.99Jagged Little PillAlanis MorissetteMPEG audio fileRockPhilipsMarkJohnsonSteve1 (780) 836-9987steve@chinookcorp.com
4Not The DoctorAlanis Morissette & Glenn Ballard0.99Jagged Little PillAlanis MorissetteMPEG audio fileRockPhilipsMarkJohnsonSteve1 (780) 836-9987steve@chinookcorp.com