mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-09 16:05:35 +00:00
Ajoute un tri sur le titre des sons
This commit is contained in:
@@ -10,6 +10,7 @@ define(
|
|||||||
|
|
||||||
var Sounds = Backbone.Collection.extend({
|
var Sounds = Backbone.Collection.extend({
|
||||||
model: Sound,
|
model: Sound,
|
||||||
|
comparator: 'title',
|
||||||
url: 'sounds/sounds.json',
|
url: 'sounds/sounds.json',
|
||||||
filterByTitle: function(search){
|
filterByTitle: function(search){
|
||||||
if( search == "" ) {
|
if( search == "" ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user