<commit_before>Vue.filter("itemURL", function(item)
{

    var urlContent = item.itemDescription.urlContent.split("/");
    var i          = urlContent.length - 1;

    return "/" + urlContent[i] + "/" + item.itemBase.id + "/" + item.variationBase.id;

});<commit_msg>FIX itemURL filter for items not having a URLContent<commit_after>Vue.filter("itemURL", function(item)
{

    var urlContent = item.itemDescription.urlContent.split("/");
    var i          = urlContent.length - 1;

    if (urlContent[i].length > 0)
    {
        return "/" + urlContent[i] + "/" + item.itemBase.id + "/" + item.variationBase.id;
    }
    return "/" + item.itemBase.id + "/" + item.variationBase.id;

});
{'fraction_non_alphanumeric': 0.17391304347826086, 'fraction_numerical': 0.004347826086956522, 'mean_word_length': 2.9261363636363638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6880167', 'n_tokens_mistral': 237, 'n_tokens_neox': 229, 'n_words': 40}