Commit Graph

210 Commits (e5acbcdbec6d94a9fea1e93ac8ae9ebb0e594464)

Author SHA1 Message Date
Markus Kahl 2d38aebbd1 Help texts for individual filters. 14 years ago
Tim Felgentreff b6cb5c5185 fix handling of nil values 14 years ago
Philipp Tessenow 47fb43d4f5 update dependent code documentation 14 years ago
Philipp Tessenow 818799929a allow multiple dependents 14 years ago
Philipp Tessenow 39551185c0 fix ur specs - ensure we have an array when checking the size of a filters values 14 years ago
Philipp Tessenow 154101d49b introduce special <<null>> value when narrowing values to not confuse nil and empty strings 14 years ago
Philipp Tessenow 567367b7e2 allow operators to operate on nil-values too 14 years ago
Markus Kahl f97b49474c Added alias method (named aka) to Operator. 14 years ago
Markus Kahl 372b3ac2b2 moved new operator to own ones 14 years ago
Konstantin Haase b007d40897 ask the engine for our connection rather than ActiveRecord::Base 14 years ago
Konstantin Haase 901fc6a016 ask the engine for our connection rather than ActiveRecord::Base 14 years ago
Markus Kahl 96d5d48f52 Added ?= operator which means 'null or equal'. 14 years ago
Philipp Tessenow f72a5288b3 add convenience functions for dependent handling in filter/base.rb 14 years ago
Markus Kahl d1d1330673 reverted rename of Chainable#intialize_query_with 14 years ago
Markus Kahl ab73d7d270 renamed Chainable#initialize_query_with to initial_report_with 14 years ago
Philipp Tessenow e5f3e9a311 move is_multichouce? to class side 14 years ago
Philipp Tessenow 84d2611f74 have multi_choice.rb in lib/filter; move some funtionality from lib/widgets into lib/report/filter 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
jwollert 0f22a3d6e9 get Progressbar Widget to work. Does not remember users' choices and looks friggin' ugly 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
Tim Felgentreff 6493c5ed04 begin a 'progress' widget implementation for displaying progress and aborting on LARGE commits 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