Fixed pagination link doesn't apply project
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user