Commit Graph

66 Commits (567367b7e2151e628f17803f1a67f3347f2702c4)

Author SHA1 Message Date
Philipp Tessenow 567367b7e2 allow operators to operate on nil-values too 14 years ago
Konstantin Haase b007d40897 ask the engine for our connection rather than ActiveRecord::Base 14 years ago
Philipp Tessenow f72a5288b3 add convenience functions for dependent handling in filter/base.rb 14 years ago
Philipp Tessenow 56b6ad3179 optionally differentiate between option values and label when narrowing dependent values 14 years ago
Philipp Tessenow aa3bb8e7be remove the any_operator 14 years ago
Philipp Tessenow 4a7d6c7638 we may have inactive filters now - which use a magic value <<inactive>> 14 years ago
Tim Felgentreff 9606559125 remove legacy support for named reports 14 years ago
Tim Felgentreff 89ea30309c render default action in show 14 years ago
Tim Felgentreff 8e972b5d8b fix previous commit. the session might not contain a query 14 years ago
Tim Felgentreff 36d22ec172 store the active query name in the session as well, as long as applicable 14 years ago
Tim Felgentreff bc63f0862a Do not throw RecordNotFound in find_optional_report 14 years ago
Konstantin Haase f3a3e32056 current_user_id is no longer used 14 years ago
Konstantin Haase 0a9b48cc85 make user_id key flexible 14 years ago
Konstantin Haase 439ec1c29c try super first, this is a mixin 14 years ago
Tim Felgentreff 8d4efffb15 only store the passed query in the session if it is accessed via _show_ 14 years ago
Tim Felgentreff f24138bbe3 remove lost debugger statement 14 years ago
Tim Felgentreff ff89ce5068 provide a store_query method (query -> session) to mirror the build_method (session -> query) and use it 14 years ago
Philipp Tessenow 9e4d425700 have an empty query description when no description was given 14 years ago
Philipp Tessenow 7f4f40fc70 hand out copies of @table_join only, to avoid accidential modification - fixes #18487 (financetraining.siemens.com) 14 years ago
Philipp Tessenow a41f4779f2 remove old clear_cache statement 14 years ago
Philipp Tessenow 2aed3aba38 have valid arity for any-operator 14 years ago
Philipp Tessenow 893fa820c1 have the any-operator as one of our default operators 14 years ago
Philipp Tessenow c656456a1e introduce any-operator 14 years ago
Tim Felgentreff 36d73d88dd dynamic values for immediate dependents work 14 years ago
Philipp Tessenow 011eda9044 alter the dependents-model so that each filter may have only _one_ dependent 14 years ago
Tim Felgentreff 352609787a make getting dependent available values a before filter, to be able to call it from all routes 14 years ago
Konstantin Haase 5d4debbf74 don't try to be smart in map_field 14 years ago
Philipp Tessenow f7f1cb4ae1 generate multiple dependents into data-dependents 14 years ago
Philipp Tessenow e758564d81 use usage_reportings dependents methods 14 years ago
Tim Felgentreff 23f0d15439 attach to filters with dependents. the controller action is basically what it should be, the missing link is the Reporting.Filters.narrow_values function, where we have to call the controller action, give it the dependency from which it is called and the dependent name on which it should return values. the controller will (as already implemented) return the list of available values as json, so the JS then has to update the selectbox 14 years ago
Philipp Tessenow c827477e9b introduce dependents 14 years ago
jwollert 26389f8bfd fix ticket #18534 by putting rename into before_filter to resolve id params 14 years ago
jwollert bd632cd3bf moves current_language to query_utils 14 years ago
jwollert 64c7921c1c introduces chainable mappings for field rendering 14 years ago
jwollert 8ede37d3a2 change the controller's #determine_filter_settings to #determine_settings, because group_bys get set in there too 14 years ago
Konstantin Haase 3f4e22ac9d remove printf debugging 14 years ago
Konstantin Haase 6b7a6d9f10 fix and simplyfy Widget::Table#render_with_options 14 years ago
Tim Felgentreff 6c222357cd implement ability to programatically reset the cached Set of filters 14 years ago
Tim Felgentreff d34c9cee1d move common controller code into a mixin 14 years ago
Philipp Tessenow cf77e6da1d fix I18n problem when generating 'w' operator sql code 14 years ago
Konstantin Haase d861d5251b do not use redo 14 years ago
Konstantin Haase 77c74b274b sort ids dynamically, remember sort strategies to avoid regexp matching for every field 14 years ago
Konstantin Haase dee81d52cb moving dbms specific code to on submodules, avoids permanent runtime checks 14 years ago
Tim Felgentreff 0375429b49 expected errors are no exceptions 14 years ago
jwollert b268bbc38a use superclass instead of super in Chainables base 14 years ago
Konstantin Haase 9f8d770667 Fix QueryUtils propagation for deeply nested constants. 14 years ago
Tim Felgentreff 9756050157 stop the sql aggregation from overriding a previously bound count in the sql statement 14 years ago
Tim Felgentreff 804cdaa5eb add an accessor to get the currently bound fields in the select part of a sql statement 14 years ago
Konstantin Haase 814a46530e actually use SqlStatement#desc 14 years ago
Konstantin Haase e098fa0810 implement query utils proagation 14 years ago