[mb-commits] branch, mbs-5764, created. MBS-5764: The 'works' column in the 'Languages' stats should link to a work s...

MusicBrainz Git Server <[email protected]> Tue, 22 Jan 2013 14:44:58 +0000
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1Txf5u-0004EW-4E@wiley>
The branch, mbs-5764 has been created
        at  ac821966b2820c002d5272e199dc9f39e13278f6 (commit)

- Log -----------------------------------------------------------------
commit ac821966b2820c002d5272e199dc9f39e13278f6
Author: Oliver Charles <[email protected]>
Date:   Tue Jan 22 14:44:39 2013 +0000

    MBS-5764: The 'works' column in the 'Languages' stats should link to a work search

diff --git a/root/statistics/languages_scripts.tt b/root/statistics/languages_scripts.tt
index e8d4b4d..1d8de99 100644
--- a/root/statistics/languages_scripts.tt
+++ b/root/statistics/languages_scripts.tt
@@ -16,7 +16,7 @@ $(document).ready(function() {
     <td class="t">
       [%- link_searchable_property(type, entity.entity.iso_code_3 || 'unknown', 'release', add_commas(entity.releases)) -%]</td>
     <td class="t">
-      [%- link_searchable_property(type, entity.entity.iso_code_3 || 'unknown', 'release', add_commas(entity.works)) -%]</td>
+      [%- link_searchable_property(type, entity.entity.iso_code_3 || 'unknown', 'work', add_commas(entity.works)) -%]</td>
     <td class="t">[% add_commas(entity.total) %]</td>
   [% ELSIF type == 'script' %]
     <td>[% entity.entity.l_name || l('Unknown script') %]</td>

-----------------------------------------------------------------------


hooks/post-receive
-- 
mb_server