Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDR -> CDRs Exports to respect Admin User specified Field order on CSV #1305

Open
timeratp opened this issue Jun 27, 2023 · 0 comments
Open

Comments

@timeratp
Copy link
Contributor

Location:
"CDR" - > "CDR Exports"

GIven I am logged in Admin user
And I am on /cdr_exports show page
And I see on the right upper side button "New Cdr Export"
When I press button "New Cdr Export"
Then I am on a create New Cdr Export ( /cdr_exports/new ) show page
And I see "Fields*" section with editable fields
When I enter/select values on section "Fields*" in order (from first to last) "duration", "time_start", "id", "time_end", "src_prefix_routing", "customer_price", "dst_prefix_routing"
And I enter "Time start gteq" value
And I press at the bottom button "Create CDr export"
Then I am redirected to created New CDR export/ID page ( /cdr_exports/{id} )
And I refresh page till report is generated
And I see button "Download" on upper right side
When I press button "Download" on upper right side
Then I download CSV file
When I open downloaded CSV file
And I observe opened CSV file columns order (from left to right)

Current behaviour:
Columns (fields) order (from left to right): "ID", "Customer Price", "Duration", "Time Start", "Time End", "SRC prefix Routing" and "DST Prefix Routing"

Suggested behaviour:
Columns (fields) order (from left to right): "Duration", "Time Start", "ID", "Time End", "SRC Prefix Routing", "Customer Price", "Dst Prefix Routing"

Reason
For me as Admin User it is easier to understand and analyse data then CSV export file contains same order of columns (fields) as I specified on "New Cdr Export" creation window.

@timeratp timeratp changed the title CDR -> CDRs Exports respects Admin User specified Field order on CSV CDR -> CDRs Exports to respect Admin User specified Field order on CSV Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants