https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41553
--- Comment #12 from Kyle M Hall (khall) <[email protected]> --- (In reply to Andrew Fuerste-Henry from comment #11) > (In reply to Andrew Fuerste-Henry from comment #8) > > It's been pointed out to me that Kyle gave the code and description distinct > > classes, so either can be easily hidden with CSS. To my mind, that sidesteps > > this issue. > > I posted this based on the code, without looking at the actual interface. > Turns out the use of select2 strips the html out of the menu options so > these don't have distinct classes after all. For that reason, I'm kicking > this to FQA. This needs at least a way to preserve current behavior of > showing only the fund name, if not also a way to show only the code. > > Preliminary googling suggests that select2 templating can allow html within > the options list, allowing the fund and code to have classes and be > hidden/shown via CSS. > > A note on Kyle's existing code here, he's got the fund code in parentheses, > with the parentheses also within the .budget_code class. That'd mean if one > hid the .budget_name the resulting list would be all codes in parens, which > is not ideal. We should avoid that. Based on this, I think the correct answer is indeed to add a syspref as you wrote previously. Do you agree? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
