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

Search / filter list of statements not working #348

Open
webmaster-cses-org-uk opened this issue Nov 3, 2021 · 1 comment
Open

Search / filter list of statements not working #348

webmaster-cses-org-uk opened this issue Nov 3, 2021 · 1 comment

Comments

@webmaster-cses-org-uk
Copy link
Contributor

Attempting to search or filter the list of statements ("Include completed statements", filter by bank account, filter on date) does not work because the form submission URL is broken.

I found a quick fix which is simply to change the form method from GET to POST, which works absolutely fine. Longer-term, it may be better to use a CiviCRM Form object to render the form rather than code manually in the template?

Anyway, changing line 3 of templates/CRM/Banking/Page/Statements.tpl as follows fixes the issue:

<form action="" method="get">

change to:

<form action="" method="post">
@webmaster-cses-org-uk
Copy link
Contributor Author

webmaster-cses-org-uk commented Nov 3, 2021

Created #349 to incorporate this.

Tested and working on CiviCRM 5.37.0.

wintermoor added a commit to wintermoor/org.project60.banking that referenced this issue Feb 16, 2022
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

No branches or pull requests

1 participant