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
60Harvester Of SorrowJames Hetfield and Lars Ulrich0.99...And Justice For AllMetallicaMPEG audio fileMetalGordonJohnParkMargaret+1 (403) 263-4423margaret@chinookcorp.com
165BlackenedJames Hetfield, Lars Ulrich & Jason Newsted0.99...And Justice For AllMetallicaMPEG audio fileMetalTremblayFran├žoisPeacockJane+1 (403) 262-3443jane@chinookcorp.com
165The Frayed Ends Of SanityJames Hetfield, Lars Ulrich and Kirk Hammett0.99...And Justice For AllMetallicaMPEG audio fileMetalTremblayFran├žoisPeacockJane+1 (403) 262-3443jane@chinookcorp.com
270...And Justice For AllJames Hetfield, Lars Ulrich & Kirk Hammett0.99...And Justice For AllMetallicaMPEG audio fileMetalGirardWyattPeacockJane+1 (403) 262-3443jane@chinookcorp.com