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

RCDB web sites meta for 0.9 #102

Closed
DraTeots opened this issue Dec 3, 2023 · 1 comment · Fixed by #104
Closed

RCDB web sites meta for 0.9 #102

DraTeots opened this issue Dec 3, 2023 · 1 comment · Fixed by #104
Assignees

Comments

@DraTeots
Copy link
Collaborator

DraTeots commented Dec 3, 2023

  1. Merge select_value/index and select_values/search
@mod.route('/')
def index():
   # ...

@mod.route('/search', methods=['GET'])
def search():
  # ...

I.e.

rcdb/select_value/search?rr=...&q=...&cnd=...
Should become
rcdb/select_value?rr=...&q=...&cnd=...
@DraTeots DraTeots assigned DraTeots and sqrd-max and unassigned DraTeots Dec 3, 2023
@sqrd-max
Copy link
Collaborator

sqrd-max commented Dec 7, 2023

index function checks for the presence of the 'q' parameter in the URL. If it's present, it treats it as a search request; otherwise, it handles it as a regular index page request. This way, the search parameters are included in the URL only when needed.

@DraTeots DraTeots linked a pull request Aug 29, 2024 that will close this issue
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 a pull request may close this issue.

2 participants