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
50How Many More TimesJimmy Page/John Bonham/John Paul Jones0.99Led Zeppelin ILed ZeppelinMPEG audio fileRockMitchellAaronParkMargaret+1 (403) 263-4423margaret@chinookcorp.com
50What Is And What Should Never BeJimmy Page, Robert Plant0.99Led Zeppelin IILed ZeppelinMPEG audio fileRockMitchellAaronParkMargaret+1 (403) 263-4423margaret@chinookcorp.com
61Please Don't TouchHeath/Robinson0.99Ace Of SpadesMotörheadMPEG audio fileMetalMitchellAaronParkMargaret+1 (403) 263-4423margaret@chinookcorp.com
61Já FoiMônica Marianno0.99Demorou...Mônica MariannoMPEG audio fileWorldMitchellAaronParkMargaret+1 (403) 263-4423margaret@chinookcorp.com