CC-3144 : Search box shows Track, Show Contents box shows Genre
replaces track number with genre.
This commit is contained in:
parent
31ded8b047
commit
f15429c8d6
|
@ -629,7 +629,7 @@ class Application_Model_StoredFile {
|
||||||
public static function searchFilesForPlaylistBuilder($datatables) {
|
public static function searchFilesForPlaylistBuilder($datatables) {
|
||||||
global $CC_CONFIG;
|
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 ";
|
$plSelect = "SELECT ";
|
||||||
$fileSelect = "SELECT ";
|
$fileSelect = "SELECT ";
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Creator</th>
|
<th>Creator</th>
|
||||||
<th>Album</th>
|
<th>Album</th>
|
||||||
<th>Track</th>
|
<th>Genre</th>
|
||||||
<th>Length</th>
|
<th>Length</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -318,7 +318,7 @@ function createDataTable(data) {
|
||||||
/* Title */ { "sName": "track_title" },
|
/* Title */ { "sName": "track_title" },
|
||||||
/* Creator */ { "sName": "artist_name" },
|
/* Creator */ { "sName": "artist_name" },
|
||||||
/* Album */ { "sName": "album_title" },
|
/* Album */ { "sName": "album_title" },
|
||||||
/* Track */ { "sName": "track_number" },
|
/* Genre */ { "sName": "genre" },
|
||||||
/* Length */ { "sName": "length" },
|
/* Length */ { "sName": "length" },
|
||||||
/* Type */ { "sName": "ftype", "bSearchable": false }
|
/* Type */ { "sName": "ftype", "bSearchable": false }
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue