Move stored_queries app under backend/stored_queries#6826
Conversation
bhumikaguptaa
left a comment
There was a problem hiding this comment.
- General testing:
- Create a new query on any table and run it
- Run an existing query
- Create a KML from a Locality query (add
LongitudeandLatitudefields) - Create a CSV from a query
- Test operators on relevant fields (Like, Equal, Greater than, Less than, Greater than equal to, Less than equal to, Between, In, Contains, Starts with, Empty, True/false for boolean fields, Use operators for relative and absolute date fields))
- Ensure that the results are as expected for the
(formatted)field - Fields that can be modified are editable and fields that should be read-only are not editable
-
Batch Editbutton is not enabled - Verify the report opens in a new tab and looks as expected
- General testing of Simple Search
Works as expected!
emenslin
left a comment
There was a problem hiding this comment.
Everytime I try to open queries or reports I get an error. I believe you just need to update the branch as this is not happening in main.
|
@emenslin Updated it 👍 - please try it out again! |
emenslin
left a comment
There was a problem hiding this comment.
- Create a new query on any table and run it
-
Run an existing query
-
Create a KML from a Locality query (add
LongitudeandLatitudefields) -
Create a CSV from a query
-
Test operators on relevant fields (Like, Equal, Greater than, Less than, Greater than equal to, Less than equal to, Between, In, Contains, Starts with, Empty, True/false for boolean fields, Use operators for relative and absolute date fields))
-
Ensure that the results are as expected for the
(formatted)field -
Fields that can be modified are editable and fields that should be read-only are not editable
-
Batch Editbutton is not enabled -
Verify the report opens in a new tab and looks as expected
-
General testing of Simple Search
-
Looks good!
Fixes #6822
This PR reorganizes the project structure by moving the
stored_queriesapp into a newbackend/stored_queries/directory underspecifyweb/.Summary of Changes:
stored_queriestospecifyweb/backend/stored_queries/SPECIFY_APPSinsettings.pyto includespecifyweb.backend.stored_queriesThis is the 15th PR in a broader backend reorganization. No frontend behavior or functionality was changed.
Notes:
patchesapp underbackend/patches#6794.Checklist
self-explanatory (or properly documented)
Testing instructions
View Queries documentation here.
Please cross check the following functionalities with
main.General Queries testing:
Verify that you can:
LongitudeandLatitudefields)(formatted)to the query(formatted)fieldBatch Editing:
timestampcreated)Batch EditBatch Editbutton is not enabledReports:
Simple Search: