mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-07-29 12:41:40 +00:00
* Implement advanced search Up to 5 individual tokens (separated by spaces) can be given as search string. Each token is individually searched for in all selected fields. Examples (assuming the relevant fields are selected for search): - a part named `foo` with a tag `bar` will be found with the search string "foo bar". - a part named `bar baz` will be found with the search string "baz bar". - a part with the ID 123 and in storage location `a_qux_b` will be found with the search string "qux 123". * Add tests These were created with the help of GPT-5.2. Disclaimer: I don't have the experience to judge the quality or validity of the results. * Restructure query buildup * Update tests * Move options from Settings to localStorage * Consider mutual exclusivity of search options If regex search is enabled, the other two options are disabled (only visually). This should give the user a fair idea of what's happening while keeping things as simple as possible. * Added translations for the checkboxes * Fix stimulus controller to allow handling multiple instances of the dropdown menu * Added tooltips for the different search mode options --------- Co-authored-by: Jan Böhmer <mail@jan-boehmer.de> |
||
|---|---|---|
| .. | ||
| datatables | ||
| ai_model_autocomplete_controller.js | ||
| attachment_autocomplete_controller.js | ||
| attachmenttype_change_controller.js | ||
| ckeditor_controller.js | ||
| collection_type_controller.js | ||
| delete_btn_controller.js | ||
| hoverpic_controller.js | ||
| ipn_suggestion_controller.js | ||
| json_formatter_controller.js | ||
| link_confirm_controller.js | ||
| localStorage_checkbox_controller.js | ||
| nonprintable_char_input_controller.js | ||
| part_search_controller.js | ||
| part_select_controller.js | ||
| password_strength_estimate_controller.js | ||
| preset_input_controller.js | ||
| search_config_controller.js | ||
| select_controller.js | ||
| select_multiple_controller.js | ||
| sidebar_tree_controller.js | ||
| static_file_autocomplete_controller.js | ||
| structural_entity_select_controller.js | ||
| tagsinput_controller.js | ||
| tree_controller.js | ||