<< 20121012-create-fachinfo-chapter-exporter-job | 2012 | 20121010-update-interaction-instant-search >>
removed optional links in result list.
DISABLED = [ :atc_drugbank_link, :atc_dosing_link, :atc_division_link, :atc_pharmacokinetic_link, ]
Removed following navigations and query limit.
src/state/user/global.rb
ZONE_NAVIGATION = [ State::User::MailingList, State::User::Plugin, State::User::DownloadExport, ]
src/view/navigation.rb
class ZoneNavigation < Navigation NAV_METHOD = :zone_navigation NAV_LINK_CSS = 'navigation right' def build_navigation(links = []) links = @lookandfeel.zone_navigation.sort_by { |state| state = case state when String, Symbol state else state.direct_event end @lookandfeel.lookup(state.to_sym).to_s.downcase } super(links) end end
It seems that bug of sbsm. Only User class of Generika Lookandfeel can not call parent method.
Finaly Added following code.
/src/custom/lookandfeelwrapper.rb
+ def zone_navigation(filter=false) + super + end