[dw-free] Imported tags not properly counted on tag list/tag page
[commit: http://hg.dwscoalition.org/dw-free/rev/0ca538b1c6ee]
http://bugs.dwscoalition.org/show_bug.cgi?id=567
Use display property for tags on import.
Patch by
afuna.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=567
Use display property for tags on import.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/Worker/ContentImporter/Local/Tags.pm
-------------------------------------------------------------------------------- diff -r d703a31eac87 -r 0ca538b1c6ee cgi-bin/DW/Worker/ContentImporter/Local/Tags.pm --- a/cgi-bin/DW/Worker/ContentImporter/Local/Tags.pm Tue Mar 31 05:33:48 2009 +0000 +++ b/cgi-bin/DW/Worker/ContentImporter/Local/Tags.pm Tue Mar 31 05:36:18 2009 +0000 @@ -36,7 +36,7 @@ sub merge_tags { my ( $class, $u, $tags ) = @_; foreach my $tag ( @{ $tags || [] } ) { - LJ::Tags::create_usertag( $u, $tag->{name}, { ignore_max => 1 } ); + LJ::Tags::create_usertag( $u, $tag->{name}, { ignore_max => 1, display => $tag->{display} } ); } } --------------------------------------------------------------------------------