Fixed pagination link doesn't apply project

This commit is contained in:
2025-10-13 13:11:42 -04:00
parent 97e3d4aa99
commit a2ea19bc53
+3
View File
@@ -269,6 +269,7 @@
<a href="{{ url_for('time_attendance_records', page=records.prev_num,
employee_id=request.args.get('employee_id', ''),
location_name=request.args.get('location_name', ''),
project_id=request.args.get('project_id', ''),
start_date=request.args.get('start_date', ''),
end_date=request.args.get('end_date', '')) }}"
class="pagination-btn">
@@ -283,6 +284,7 @@
<a href="{{ url_for('time_attendance_records', page=page_num,
employee_id=request.args.get('employee_id', ''),
location_name=request.args.get('location_name', ''),
project_id=request.args.get('project_id', ''),
start_date=request.args.get('start_date', ''),
end_date=request.args.get('end_date', '')) }}"
class="pagination-btn">
@@ -300,6 +302,7 @@
<a href="{{ url_for('time_attendance_records', page=records.next_num,
employee_id=request.args.get('employee_id', ''),
location_name=request.args.get('location_name', ''),
project_id=request.args.get('project_id', ''),
start_date=request.args.get('start_date', ''),
end_date=request.args.get('end_date', '')) }}"
class="pagination-btn">