Changes to the tax administration law were also ratified.
The proposed changes have prompted concerns over civil rights and due process.
The Maldives reaffirmed support for a Palestinian state based on 1967 borders.
Solih publicly rebuked Nasheed for the first time.
Two women were chosen as president and vice president for the first time.
No arrests have been made a week after a presidential commission disclosed findings.
Lawmakers went on holiday after passing a new fisheries law.
The president has sought the judicial watchdog's counsel.
President Solih highlighted the lack of effective institutions for cooperation.
It was the first treaty of its kind signed by the Maldives.
The president's nominees were confirmed with 62 votes in favour.
Guardian visas were pledged for parents and grandparents of Maldivian students.
The row erupted when Pakistan's deputy speaker raised the issue of Kashmir.
The speaker of parliament criticised demands for government jobs by activists.
Both countries will offer a free 90-day visa on arrival.
The annual gathering focuses on Sustainable Development Goals.
Nearly 400 prisoners are awaiting sentences.