Skip to content

[IMP] Search through case summary(description)#1067

Open
Pv0t wants to merge 1 commit intodfir-iris:hotfix_v2.4.27from
Pv0t:search-through-case-summary
Open

[IMP] Search through case summary(description)#1067
Pv0t wants to merge 1 commit intodfir-iris:hotfix_v2.4.27from
Pv0t:search-through-case-summary

Conversation

@Pv0t
Copy link
Copy Markdown

@Pv0t Pv0t commented Apr 26, 2026

Context

Added the possibility to search for the case summary (description) in every single case.

1
2

What Changed

  • Changed the file './source/app/static/assets/js/iris/search.js'

    • Turns a plain HTML table into a DataTable and displays three columns: case name, case description, and customer name. Includes export and copy buttons, and allows sorting, filtering, and pagination (already integrated).
  • Changed the file './source/app/blueprints/search/search_routes.py'

    • When the '/search' endpoint is called and the 'search_type' is equal to 'case_summary', the file 'search_routes.py' retrieves the following data: case name, case id, case description, customer name. All of the output is joined in a single table.
  • Changed the file './source/app/blueprints/search/templates/search.html'

    • Added the button 'Case' in the '/search' page following the style of the existing buttons. The 'Case' button is already checked by default when u go to the 'Search' page.
    • Added the formatted table to display the results and to use the same style as other tables.

Scope

  • Frontend change;
  • Backend change;

Validation Performed

Manual validation performed:

  • Checked if the results are displayed corrected;
  • Checked if the data are retrieved correctly;
  • Checked if the frontend displays correctly, using the same style as the tables and boxes of the other search types.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 26, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • api_*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e0874c27-2fc9-4ea6-8bf1-d74d36efb94f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant