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
299"?" 1.99Lost, Season 2LostProtected MPEG-4 video fileTV ShowsCunninghamRichardParkMargaret+1 (403) 263-4423margaret@chinookcorp.com
100#9 Dream 0.99Instant Karma: The Amnesty International Campaign to Save DarfurU2Protected AAC audio filePopWichterlováFrantišekParkMargaret+1 (403) 263-4423margaret@chinookcorp.com
334'Round MidnightMiles Davis0.99The Essential Miles Davis [Disc 1]Miles DavisMPEG audio fileJazzBernardCamilleParkMargaret+1 (403) 263-4423margaret@chinookcorp.com
161(Anesthesia) Pulling TeethCliff Burton0.99Kill 'Em AllMetallicaMPEG audio fileMetalVan der BergJohannesJohnsonSteve1 (780) 836-9987steve@chinookcorp.com