I have the settings of my document as follow:
\documentclass[12pt,a4paper,twoside]{report}
\usepackage[top=25mm, bottom=25mm, outer=15mm, inner=35mm]{geometry}
\renewcommand{\baselinestretch}{1.15}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage{polski}
\usepackage[polish]{babel}
\usepackage{titlesec}
\usepackage{titletoc}
\usepackage{fancyhdr}
\titleformat
{\part}
[display]
{\bfseries \huge \itshape\centering}
{Część \ \thepart}
{0.5ex}
{
\rule{\textwidth}{0pt}
\vspace{1ex}
\centering
}
[
\vspace{-0.5ex}
\rule{\textwidth}{0pt}
]
\titleformat{\chapter}[hang]
{\normalfont\huge\bfseries}
{\thechapter}{18pt}{\huge}
\titlespacing*{\chapter}{0pt}{50pt}{20pt}
\pagestyle{fancy}
\fancyhf{}
\fancypagestyle{plain}{}
\pagenumbering{arabic}
\rfoot{Strona ~\thepage~}
\renewcommand{\headrulewidth}{0pt}
\makeatletter
\renewcommand\@biblabel[1]{#1.}
\makeatother
\begin{document}
\part{The Part name}
...
\chapter{The First Chapter name}
...
\chapter{The Second Chapter name}
...
\chapter{The Third Chapter name}
...
\end{document}
I would like to achieve chapters begin at the same page, just after the end of the previous chapter? The solution from this post link doesn't work in my example.