CC-3144 : Search box shows Track, Show Contents box shows Genre

replaces track number with genre.
This commit is contained in:
Naomi Aro 2011-12-01 11:16:29 +01:00
parent 31ded8b047
commit f15429c8d6
3 changed files with 16 additions and 16 deletions

View File

@ -629,7 +629,7 @@ class Application_Model_StoredFile {
public static function searchFilesForPlaylistBuilder($datatables) {
global $CC_CONFIG;
$displayData = array("track_title", "artist_name", "album_title", "track_number", "length", "ftype");
$displayData = array("track_title", "artist_name", "album_title", "genre", "length", "ftype");
$plSelect = "SELECT ";
$fileSelect = "SELECT ";

View File

@ -11,7 +11,7 @@
<th>Title</th>
<th>Creator</th>
<th>Album</th>
<th>Track</th>
<th>Genre</th>
<th>Length</th>
<th>Type</th>
</tr>

View File

@ -318,7 +318,7 @@ function createDataTable(data) {
/* Title */ { "sName": "track_title" },
/* Creator */ { "sName": "artist_name" },
/* Album */ { "sName": "album_title" },
/* Track */ { "sName": "track_number" },
/* Genre */ { "sName": "genre" },
/* Length */ { "sName": "length" },
/* Type */ { "sName": "ftype", "bSearchable": false }
],