Titles that were entirely numeric would cause Zotero to fail on "Loading items list..."
This commit is contained in:
parent
ee3f8ee47f
commit
24cca6cff3
|
@ -3070,6 +3070,9 @@ Zotero.Items = new function(){
|
|||
|
||||
|
||||
function getSortTitle(title) {
|
||||
if (typeof title == 'number') {
|
||||
return title + '';
|
||||
}
|
||||
return title.replace(/^[\[\'\"](.*)[\'\"\]]?$/, '$1')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user