view · edit · sidebar · attach · print · history

20120704-update-tailbarkeit-view-link-model-object

<< | Index | >>


Summary

  • Added Teilbarkeit section into Package.
  • Added T link in search result list.

Commits

Index


Addded Divisibility Section into Package View

created new composite view.

  • src/view/drugs/sequence.rb
    • <= src/view/admin/sequence.rb
    • <= src/view/drugs/package.rb

Added square T link in Resultlist

updated src/view/dataformat.rb

commit

Updated to hide empty Teilbarkeit section

commit

Update teilbarkeit objects for lang support

Move ODDB::Divison objects as ODDB::Divisibility has ODDB::DivisibilityInformation in ODDB:Language::SimpleDescription.

Refs

http://dev.ywesee.com/Yasu/20120703-debug-update-rss-feeds-tailbarkeit-view#migrate-teilbarkeit-objects

migrated objects, manually.

Sequence(s)
ch.oddb> sequences.values.length
-> 15754
Division(s)
ch.oddb> sequences.values.select{|s|!s.division.nil?}.length
-> 509
Divisibilty
ch.oddb> sequences.values.select{|s|if !s.division.nil?}.map{|s|s.create_divisibility; s.odba_store;}.length
-> 509
ch.oddb> sequences.values.select{|s|!s.divisibility.nil?}.length
-> 509
DivisibilityInformation
ch.oddb> sequences.values.select{|s|!s.divisibility.nil?}.map{|s|s.divisibility.descriptions.update_values({:de => ODDB::DivisibilityInformation.new}); s.divisibility.odba_store }.length
-> 509
Move texts
ch.oddb> sequences.values.select{|s|!s.divisibility.nil?}.map{|s|s.divisibility.description('de').divisable = s.division.divisable; s.divisibility.description('de').odba_store}.length
-> 509
ch.oddb> sequences.values.select{|s|!s.divisibility.nil?}.map{|s|s.divisibility.description('de').dissolvable = s.division.dissolvable; s.divisibility.description('de').odba_store}.length
-> 509
view · edit · sidebar · attach · print · history
Page last modified on July 04, 2012, at 11:53 AM